Skip to content

Commit

Permalink
fix center
Browse files Browse the repository at this point in the history
  • Loading branch information
Rathoz committed Oct 14, 2024
1 parent 40eec9c commit aba58b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/widget/infobox/widget_infobox_center.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ function Center:render()
if Table.isEmpty(self.props.children) then
return nil
end
return HtmlWidgets.Div{children = HtmlWidgets.Div{
return HtmlWidgets.Div{children = {HtmlWidgets.Div{
classes = WidgetUtil.collect('infobox-center', self.props.classes),
children = self.props.children
}}
}}}
end

return Center

0 comments on commit aba58b2

Please sign in to comment.