diff --git a/tgui/packages/tgui/interfaces/CentcomPodLauncher.tsx b/tgui/packages/tgui/interfaces/CentcomPodLauncher.tsx index 8444e39365..a1ffca6a3b 100644 --- a/tgui/packages/tgui/interfaces/CentcomPodLauncher.tsx +++ b/tgui/packages/tgui/interfaces/CentcomPodLauncher.tsx @@ -12,14 +12,14 @@ const pod_grey = { color: 'grey', }; -const useCompact = context => { +const useCompact = () => { const [compact, setCompact] = useLocalState('compact', false); const toggleCompact = () => setCompact(!compact); return [compact, toggleCompact]; }; export const CentcomPodLauncher = (props) => { - const [compact] = useCompact(context); + const [compact] = useCompact(); return ( { }; const CentcomPodLauncherContent = (props) => { - const [compact] = useCompact(context); + const [compact] = useCompact(); return ( @@ -543,7 +543,7 @@ const TabDrop = (props) => { const PodStatusPage = (props) => { const { act, data } = useBackend(); - const [compact, toggleCompact] = useCompact(context); + const [compact, toggleCompact] = useCompact(); return (
@@ -914,7 +914,7 @@ class PresetsPage extends Component { } const LaunchPage = (props) => { - const [compact] = useCompact(context); + const [compact] = useCompact(); const { act, data } = useBackend(); return (