passing the reducer_countries json

This commit is contained in:
Antoine M 2024-06-10 09:59:53 +02:00
parent 7dc6557f6e
commit fecc6d4afc
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import { useCallback, useEffect, useState } from "react";
import { v4 as uuidv4 } from "uuid";
import { useUser } from "../../hooks/useUser.jsx";
import CountriesJSON from "../../data/countries/countries.json";
import CountriesJSON from "../../data/countries/countries_reduced.json";
export default function CountrySelect({ label }) {
const { country, changeCountry } = useUser();

View File

@ -1,5 +1,5 @@
import { createContext, useEffect, useState } from "react";
import CountriesJSON from "../data/countries/countries.json";
import CountriesJSON from "../data/countries/countries_reduced.json";
export const UserContext = createContext();