From c62b611aebfab79a882cefb24503dbbb7796ba45 Mon Sep 17 00:00:00 2001 From: vm-silicons Date: Sat, 20 Dec 2025 12:05:44 -0800 Subject: [PATCH] sigh --- .../tgui/interfaces/CentcomPodLauncher.tsx | 12 +++---- .../tgui/interfaces/ExodroneConsole.tsx | 4 +-- tgui/packages/tgui/interfaces/FishCatalog.tsx | 2 +- .../IntegratedCircuit/FundamentalTypes.tsx | 6 +++- .../interfaces/IntegratedCircuit/Port.tsx | 5 ++- tgui/packages/tgui/interfaces/Interview.tsx | 34 +++++++++---------- tgui/packages/tgui/interfaces/NtosNetChat.tsx | 4 +-- tgui/packages/tgui/interfaces/PaperSheet.tsx | 32 ++++++++++------- .../tgui/interfaces/PersonalCrafting.tsx | 31 +++++++++-------- .../tgui/interfaces/RadioactiveMicrolaser.tsx | 2 ++ .../packages/tgui/interfaces/RequestKiosk.tsx | 2 +- .../tgui/interfaces/common/RecipeLookup.tsx | 8 ++--- 12 files changed, 78 insertions(+), 64 deletions(-) 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 (