We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 442d2ce commit c51485eCopy full SHA for c51485e
packages/devtools/src/components/tabs.tsx
@@ -37,7 +37,7 @@ export const Tabs = (props: TabsProps) => {
37
if (tab.id === 'plugins') hoverUtils.leave()
38
}}
39
>
40
- {tab.icon}
+ {tab.icon()}
41
</button>
42
)}
43
</For>
packages/devtools/src/tabs/index.tsx
@@ -8,19 +8,19 @@ export const tabs = [
8
name: 'Plugins',
9
id: 'plugins',
10
component: () => <PluginsTab />,
11
- icon: <List />,
+ icon: () => <List />,
12
},
13
{
14
name: 'SEO',
15
id: 'seo',
16
component: () => <SeoTab />,
17
- icon: <PageSearch />,
+ icon: () => <PageSearch />,
18
19
20
name: 'Settings',
21
id: 'settings',
22
component: () => <SettingsTab />,
23
- icon: <Cogs />,
+ icon: () => <Cogs />,
24
25
] as const
26
0 commit comments