fix(front-end): avoid sending a set_power request when closing the power menu

main
Josue 4 years ago committed by Digimer
parent d46e16fefc
commit dd88105d1b
  1. 2
      striker-ui/components/Servers.tsx

@ -196,7 +196,7 @@ const Servers = ({ anvil }: { anvil: AnvilListItem[] }): JSX.Element => {
anchorEl={anchorEl}
keepMounted
open={Boolean(anchorEl)}
onClose={handlePower}
onClose={() => setAnchorEl(null)}
>
{buttonLabels.map((label: ButtonLabels) => {
return (

Loading…
Cancel
Save