fix: useI18n type breaking

This commit is contained in:
Andrew Bastin
2023-12-07 15:17:41 +05:30
parent 2bf0106aa2
commit 0a61ec2bfe

View File

@@ -1,6 +1,7 @@
import { flow } from "fp-ts/function"
import { useI18n as _useI18n } from "vue-i18n"
export const useI18n = flow(_useI18n, (x) => x.t)
export function useI18n() {
return _useI18n().t
}
export const useFullI18n = _useI18n