Fix useEffect error in AuthProvider

This commit is contained in:
gpt-engineer-app[bot]
2025-09-29 15:48:01 +00:00
parent 61d3f7e1ea
commit 854fcd1e0c
3 changed files with 14 additions and 6 deletions

View File

@@ -0,0 +1,7 @@
import { useEffect } from 'react';
import { useLocationAutoDetect } from '@/hooks/useLocationAutoDetect';
export function LocationAutoDetectProvider() {
useLocationAutoDetect();
return null; // This component doesn't render anything, just runs the hook
}