diff --git a/libs/remix-ui/vertical-icons-panel/src/lib/components/Home.tsx b/libs/remix-ui/vertical-icons-panel/src/lib/components/Home.tsx index bccae04ae5..69b78eebd7 100644 --- a/libs/remix-ui/vertical-icons-panel/src/lib/components/Home.tsx +++ b/libs/remix-ui/vertical-icons-panel/src/lib/components/Home.tsx @@ -9,8 +9,7 @@ function Home ({ verticalIconPlugin }: HomeProps) {
await verticalIconPlugin.activateHome()} - // @ts-ignore - plugin="home" + {...{ plugin: 'home '}} title="Home" data-id="verticalIconsHomeIcon" id="verticalIconsHomeIcon" diff --git a/libs/remix-ui/vertical-icons-panel/src/lib/components/Icon.tsx b/libs/remix-ui/vertical-icons-panel/src/lib/components/Icon.tsx index 583741a152..cb5cc56931 100644 --- a/libs/remix-ui/vertical-icons-panel/src/lib/components/Icon.tsx +++ b/libs/remix-ui/vertical-icons-panel/src/lib/components/Icon.tsx @@ -89,8 +89,7 @@ const Icon = ({ onClick={() => { (verticalIconPlugin as any).toggle(name) }} - //@ts-ignore - plugin={name} + {...{plugin: name}} title={title} onContextMenu={(e: any) => { e.preventDefault()