From c2dee1e5be6d515a3c6089c49c875aa8bb5f03b9 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Fri, 11 Jul 2025 16:14:59 -0600 Subject: [PATCH] update display name --- .../src/components/ui/layouts/AppSplitter/AppSplitter.tsx | 2 ++ apps/web/src/hooks/useLocalStorageState.tsx | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/web/src/components/ui/layouts/AppSplitter/AppSplitter.tsx b/apps/web/src/components/ui/layouts/AppSplitter/AppSplitter.tsx index 3d090f5ee..f346cfe4e 100644 --- a/apps/web/src/components/ui/layouts/AppSplitter/AppSplitter.tsx +++ b/apps/web/src/components/ui/layouts/AppSplitter/AppSplitter.tsx @@ -791,3 +791,5 @@ const AppSplitterBase = forwardRef< ); export const AppSplitter = React.memo(AppSplitterWrapper); + +AppSplitter.displayName = 'AppSplitter'; diff --git a/apps/web/src/hooks/useLocalStorageState.tsx b/apps/web/src/hooks/useLocalStorageState.tsx index e61f3f0ac..f37929138 100644 --- a/apps/web/src/hooks/useLocalStorageState.tsx +++ b/apps/web/src/hooks/useLocalStorageState.tsx @@ -95,9 +95,9 @@ export function useLocalStorageState( const [state, setState] = useState(getInitialValue); // Initialize state from localStorage on mount - useMount(() => { - setState(getInitialValue()); - }); + // useMount(() => { + // setState(getInitialValue()); + // }); // Update localStorage when state changes useEffect(() => {