🚧 Literals don't need parentheses in html!{}

This commit is contained in:
Manuel Cillero 2023-07-30 08:23:41 +02:00
parent 9f105ef81b
commit e237167da7
3 changed files with 5 additions and 5 deletions

View file

@ -79,7 +79,7 @@ impl ComponentTrait for Anchor {
target=[target]
{
(self.left_icon().prepare(cx))
(" ") span { (self.html().prepare(cx)) } (" ")
" " span { (self.html().prepare(cx)) } " "
(self.right_icon().prepare(cx))
}
})