Spaces:
Sleeping
Sleeping
| import { createContext } from "react"; | |
| export const WordsContext = createContext({ | |
| words: [], | |
| fetchWords: () => {}, | |
| }); | |
| export const CommonCategoryWordsContext = createContext({ | |
| CommonCategoryWords: [], | |
| setCommonCategoryWords: () => {}, | |
| }); | |
| export const SemanticDifferencesContext = createContext({ | |
| SemanticDifferences: [], | |
| setSemanticDifferences: () => {}, | |
| }); | |