mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 16:38:20 +01:00
8 lines
191 B
TypeScript
8 lines
191 B
TypeScript
import { SettingIds } from "~/settings";
|
|
|
|
export const useLanguage = () => {
|
|
const lang = useSetting(SettingIds.Language);
|
|
|
|
return computed(() => lang.value.value as "en" | "fr");
|
|
};
|