feat: introducing i18n support to admin dashboard (#3051)
This commit is contained in:
committed by
GitHub
parent
b07243f131
commit
331d482b22
6
packages/hoppscotch-sh-admin/src/composables/i18n.ts
Normal file
6
packages/hoppscotch-sh-admin/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