feat: migrate to vue 3 + vite (#2553)
Co-authored-by: amk-dev <akash.k.mohan98@gmail.com> Co-authored-by: liyasthomas <liyascthomas@gmail.com>
This commit is contained in:
6
packages/hoppscotch-app/src/composables/i18n.ts
Normal file
6
packages/hoppscotch-app/src/composables/i18n.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { flow } from "fp-ts/function"
|
||||
import { useI18n as _useI18n } from "vue-i18n"
|
||||
|
||||
export const useI18n = flow(_useI18n, (x) => x.t)
|
||||
|
||||
export const useFullI18n = _useI18n
|
||||
Reference in New Issue
Block a user