Skip to content

Commit

Permalink
fix: add case for SingularBox components
Browse files Browse the repository at this point in the history
  • Loading branch information
arlyon committed May 22, 2023
1 parent a5b122f commit 415afeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/tailwind-parse/src/literal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ impl<'a> Literal<'a> {
(RequiredArbitrary(p), Some(value)) => p(value, theme),
(RequiredArbitraryBox(p), Some(value)) => p(value, theme),
(Singular(p), None) => Ok(p()),
(SingularBox(p), None) => Ok(p()),
(RequiredBox(p), Some(SubjectValue::Value(value))) => p(value, theme),
(OptionalAbitraryBox(p), value) => p(value.as_ref(), theme),
(OptionalArbitrary(p), value) => p(value.as_ref(), theme),
Expand Down

0 comments on commit 415afeb

Please sign in to comment.