Custom hook to safely check if component is mounted on client-side Prevents hydration mismatches by ensuring code only runs on client
Custom hook to safely check if component is mounted on client-side Prevents hydration mismatches by ensuring code only runs on client