From 5d2c8369389013895264caf16e71d44bddabb22c Mon Sep 17 00:00:00 2001 From: physcik Date: Sat, 11 Apr 2026 16:40:22 +0500 Subject: Language toggle --- front/src/Locales/Context.tsx | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 front/src/Locales/Context.tsx (limited to 'front/src/Locales/Context.tsx') diff --git a/front/src/Locales/Context.tsx b/front/src/Locales/Context.tsx new file mode 100644 index 0000000..a15d57d --- /dev/null +++ b/front/src/Locales/Context.tsx @@ -0,0 +1,5 @@ +import { createContext } from "react"; + +export type AllowedLanguages = "en" | "ru"; + +export const LanguageContext = createContext("en"); -- cgit v1.3