Prechádzať zdrojové kódy

removed comma. This was causing the main window to be pulled down behind the headerbar, hence the odd menu behavior

Bernt Christian Egeland 3 rokov pred
rodič
commit
5ae4f47e96
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      web/src/AppBar.jsx

+ 2 - 2
web/src/AppBar.jsx

@@ -63,7 +63,7 @@ export default function AppBar() {
           <MenuSeparator />
           <MenuItem icon={FrigateRestartIcon} label="Restart Frigate" onSelect={handleRestart} />
         </Menu>
-      ) : null},
+      ) : null}
       {showDialog ? (
         <Dialog
           onDismiss={handleDismissRestartDialog}
@@ -74,7 +74,7 @@ export default function AppBar() {
             { text: 'Cancel', onClick: handleDismissRestartDialog },
           ]}
         />
-      ) : null},
+      ) : null}
       {showDialogWait ? (
         <Dialog
           title="Restart in progress"