Small fixes (#1345)

* cleanup: remove console log

* use UI Index
This commit is contained in:
Alex Christoffer Rasmussen
2024-11-30 10:11:36 +01:00
committed by GitHub
parent f561e52bb5
commit 0f5c47bc82
2 changed files with 8 additions and 9 deletions
@@ -39,8 +39,6 @@ export const TranslationContext = createContext<TranslationContextValue>({
export const TranslationProvider = ({ children }: PropsWithChildren) => {
const { data } = useSettings();
console.log('....', data.language)
const getLocalizedString = useCallback(
(key: keyof typeof langEn, lang = data?.language || 'en'): string => {
if (lang in translationsList) {