summaryrefslogtreecommitdiff
path: root/front/src/Emelents/IndexElement.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'front/src/Emelents/IndexElement.tsx')
-rw-r--r--front/src/Emelents/IndexElement.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/front/src/Emelents/IndexElement.tsx b/front/src/Emelents/IndexElement.tsx
index 4eda815..9914e89 100644
--- a/front/src/Emelents/IndexElement.tsx
+++ b/front/src/Emelents/IndexElement.tsx
@@ -1,7 +1,11 @@
+import { useState } from "react";
+import { GetString } from "../Locales/Locales";
+
function IndexElement() {
+ const [lang, setLang] = useState('en');
return (
<div>
- <h1> Index element </h1>
+ <h1> {GetString("index", lang)} </h1>
</div>
);
}