Skip to content
Snippets Groups Projects

Refactor data fetching and state management in MapsPage

Merged Mohammad Torkashvand requested to merge feature/NAT-574-add-axios-timeout into develop
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -17,7 +17,7 @@ const MapsPage: React.FC = () => {
const [error, setError] = useState<boolean>(false);
const TIMEOUT = 5000;
const config = useGsoConfig();
const { session } = useWfoSession(); // Use the hook here
const { session } = useWfoSession();
useEffect(() => {
const fetchData = async () => {
Loading