Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

fix: useI18n type breaking

Andrew Bastin0a61ec2bfe79
diff --git a/packages/hoppscotch-common/src/composables/i18n.ts b/packages/hoppscotch-common/src/composables/i18n.ts
index 114f53602..c330264d1 100644
--- a/packages/hoppscotch-common/src/composables/i18n.ts
+++ b/packages/hoppscotch-common/src/composables/i18n.ts
@@ -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