Skip to content

Commit c51485e

Browse files
committed
chore: fix issue with icons
1 parent 442d2ce commit c51485e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/devtools/src/components/tabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const Tabs = (props: TabsProps) => {
3737
if (tab.id === 'plugins') hoverUtils.leave()
3838
}}
3939
>
40-
{tab.icon}
40+
{tab.icon()}
4141
</button>
4242
)}
4343
</For>

packages/devtools/src/tabs/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ export const tabs = [
88
name: 'Plugins',
99
id: 'plugins',
1010
component: () => <PluginsTab />,
11-
icon: <List />,
11+
icon: () => <List />,
1212
},
1313
{
1414
name: 'SEO',
1515
id: 'seo',
1616
component: () => <SeoTab />,
17-
icon: <PageSearch />,
17+
icon: () => <PageSearch />,
1818
},
1919
{
2020
name: 'Settings',
2121
id: 'settings',
2222
component: () => <SettingsTab />,
23-
icon: <Cogs />,
23+
icon: () => <Cogs />,
2424
},
2525
] as const
2626

0 commit comments

Comments
 (0)