remove dom nesting warning

This commit is contained in:
TzeYiing committed 2022-01-18 23:14:22 +08:00
1 parent c176104016
commit bdd1601e9f
1 file changed
+2 -2
@@ -112,7 +112,7 @@ const LogPanel: FC<Props> = ({
</Dropdown.Item>
))}
>
<Button type="text" iconRight={<IconChevronDown />}>
<Button as="span" type="text" iconRight={<IconChevronDown />}>
Templates
</Button>
</Dropdown>
@@ -163,7 +163,7 @@ const LogPanel: FC<Props> = ({
</Dropdown.Misc>
}
>
<Button type="outline" icon={<IconClock size="tiny" />}>
<Button as="span" type="outline" icon={<IconClock size="tiny" />}>
{from.value ? 'Custom' : 'Now'}
</Button>
</Dropdown>