diff --git a/src/renderer/components/title-bar/title-bar.component.tsx b/src/renderer/components/title-bar/title-bar.component.tsx index 6039caed..8cb4a1f1 100644 --- a/src/renderer/components/title-bar/title-bar.component.tsx +++ b/src/renderer/components/title-bar/title-bar.component.tsx @@ -13,7 +13,6 @@ import { lastValueFrom } from "rxjs"; import { useWindowControls } from "renderer/hooks/use-window-controls.hook"; export default function TitleBar({ template = "index.html" }: { template: AppWindow }) { - const ipcService = useService(IpcService); const audio = useService(AudioPlayerService); const windowControls = useWindowControls(); @@ -52,7 +51,7 @@ export default function TitleBar({ template = "index.html" }: { template: AppWin windowControls.unmaximise(); }; - const toogleMaximize = () => { + const toggleMaximize = () => { if (maximized) { resetWindow(); } else { @@ -87,27 +86,28 @@ export default function TitleBar({ template = "index.html" }: { template: AppWin audio.toggleMute()} /> -
+
-
+ +
-
+ +
+ ); @@ -130,7 +130,7 @@ export default function TitleBar({ template = "index.html" }: { template: AppWin
- +