fix hot reloading rsx with nested rsx calls
This commit is contained in:
1 parent
21ca1599eb
commit
1530445972
5 files changed
+59
-10
No files matched your search
@@ -21,7 +21,7 @@ pub struct IfmtInput {
|
||||
|
||||
impl IfmtInput {
|
||||
pub fn is_static(&self) -> bool {
|
||||
matches!(self.segments.as_slice(), &[Segment::Literal(_)])
|
||||
matches!(self.segments.as_slice(), &[Segment::Literal(_)] | &[])
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user