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

main
Josue 4 years ago
parent a1163916ab
commit 8615bf9f20
  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