Fix active property for slected plugin

This commit is contained in:
Sacha Weatherstone
2022-01-18 00:41:38 +11:00
parent 161d432330
commit e43b04990b

View File

@@ -110,7 +110,10 @@ export const Plugins = ({ navOpen, setNavOpen }: PluginsProps): JSX.Element => {
</div>
</div>
<div className="flex gap-2">
<IconButton active icon={<FiExternalLink />} />
<IconButton
active={plugin.name === selectedPlugin}
icon={<FiExternalLink />}
/>
</div>
</div>
))}