feat: Add PageHead component

This commit is contained in:
deytenit committed 2026-03-06 09:50:38 +03:00
1 parent 30fd52b8e9
commit 8d57d6ba1b
30 files changed
+600 -114

No files matched your search

@@ -39,7 +39,7 @@ export function useLocalStorage<T>(
const getSnapshot = useCallback(() => manager.get(), [manager]);
const value = useSyncExternalStore(subscribe, getSnapshot, () => {
// During SSR, we can't access localStorage.
// During SSR, we can't access localStorage.
// However, createLocalStorage is designed to throw if accessed during SSR.
// This hook is intended to be used in client-side components.
return manager.get();