chore(rs-2024): mise à jour des données de la rentrée scolaire 2024 #202
Annotations
10 warnings
Tests:
ui/app/(wrapped)/domaine-de-formation/[codeNsf]/components/FormationSection/Tabs/EtablissementsTab/Map/ActiveEtablissementLayers.tsx#L43
The 'scolaireInvertedSinglePointLayer' object makes the dependencies of useEffect Hook (at line 117) change on every render. To fix this, wrap the initialization of 'scolaireInvertedSinglePointLayer' in its own useMemo() Hook
|
Tests:
ui/app/(wrapped)/domaine-de-formation/[codeNsf]/components/FormationSection/Tabs/EtablissementsTab/Map/ActiveEtablissementLayers.tsx#L54
The 'apprentissageInvertedSinglePointLayer' object makes the dependencies of useEffect Hook (at line 117) change on every render. To fix this, wrap the initialization of 'apprentissageInvertedSinglePointLayer' in its own useMemo() Hook
|
Tests:
ui/app/(wrapped)/domaine-de-formation/[codeNsf]/components/FormationSection/Tabs/EtablissementsTab/Map/ActiveEtablissementLayers.tsx#L65
The 'scolaireApprentissageInvertedSinglePointLayer' object makes the dependencies of useEffect Hook (at line 117) change on every render. To fix this, wrap the initialization of 'scolaireApprentissageInvertedSinglePointLayer' in its own useMemo() Hook
|
Tests:
ui/app/(wrapped)/domaine-de-formation/[codeNsf]/components/FormationSection/Tabs/EtablissementsTab/Map/ActiveEtablissementLayers.tsx#L76
The 'onSinglePointClick' function makes the dependencies of useEffect Hook (at line 117) change on every render. Move it inside the useEffect callback. Alternatively, wrap the definition of 'onSinglePointClick' in its own useCallback() Hook
|
Tests:
ui/app/(wrapped)/domaine-de-formation/[codeNsf]/components/FormationSection/Tabs/EtablissementsTab/Map/CustomControls.tsx#L44
The 'loadImageOnMap' function makes the dependencies of useEffect Hook (at line 89) change on every render. To fix this, wrap the definition of 'loadImageOnMap' in its own useCallback() Hook
|
Tests:
ui/app/(wrapped)/domaine-de-formation/[codeNsf]/components/FormationSection/Tabs/EtablissementsTab/Map/CustomControls.tsx#L58
The 'onZoomEnd' function makes the dependencies of useEffect Hook (at line 89) change on every render. Move it inside the useEffect callback. Alternatively, wrap the definition of 'onZoomEnd' in its own useCallback() Hook
|
Tests:
ui/app/(wrapped)/domaine-de-formation/[codeNsf]/components/FormationSection/Tabs/EtablissementsTab/Map/EtablissementsLayers.tsx#L41
The 'clusterLayer' object makes the dependencies of useEffect Hook (at line 183) change on every render. To fix this, wrap the initialization of 'clusterLayer' in its own useMemo() Hook
|
Tests:
ui/app/(wrapped)/domaine-de-formation/[codeNsf]/components/FormationSection/Tabs/EtablissementsTab/Map/EtablissementsLayers.tsx#L75
The 'scolaireSinglePointLayer' object makes the dependencies of useEffect Hook (at line 183) change on every render. To fix this, wrap the initialization of 'scolaireSinglePointLayer' in its own useMemo() Hook
|
Tests:
ui/app/(wrapped)/domaine-de-formation/[codeNsf]/components/FormationSection/Tabs/EtablissementsTab/Map/EtablissementsLayers.tsx#L86
The 'apprentissageSinglePointLayer' object makes the dependencies of useEffect Hook (at line 183) change on every render. To fix this, wrap the initialization of 'apprentissageSinglePointLayer' in its own useMemo() Hook
|
Tests:
ui/app/(wrapped)/domaine-de-formation/[codeNsf]/components/FormationSection/Tabs/EtablissementsTab/Map/EtablissementsLayers.tsx#L97
The 'scolaireApprentissageSinglePointLayer' object makes the dependencies of useEffect Hook (at line 183) change on every render. To fix this, wrap the initialization of 'scolaireApprentissageSinglePointLayer' in its own useMemo() Hook
|