fix(ags): fix issues with hover on network item
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-11-20 20:50:07 -05:00
parent 85348d1a6c
commit d223d18842

View file

@ -29,7 +29,10 @@ export default () => {
return ( return (
<box> <box>
{/* Make sure the AP is there before binding to it */} {/* Make sure the AP is there before binding to it */}
{bind(Wifi, 'accessPoints').as((aps) => aps.length !== 0 && ( {bind(Wifi, 'accessPoints').as((aps) => {
if (aps.length === 0) { return; }
return (
<> <>
<icon icon={bind(Wifi, 'iconName')} /> <icon icon={bind(Wifi, 'iconName')} />
@ -42,7 +45,8 @@ export default () => {
))} ))}
</revealer> </revealer>
</> </>
))} );
})}
</box> </box>
); );
} }