Browse Source

fix(locales): type error in pt.ts

安忆 1 year ago
parent
commit
6527074cde
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/locales/pt.ts

+ 2 - 2
app/locales/pt.ts

@@ -1,10 +1,10 @@
 import { SubmitKey } from "../store/config";
-import { LocaleType } from "../locales/index";
+import { PartialLocaleType } from "../locales/index";
 import { getClientConfig } from "../config/client";
 
 const isApp = !!getClientConfig()?.isApp;
 
-const pt: LocaleType = {
+const pt: PartialLocaleType = {
   WIP: "Em breve...",
   Error: {
     Unauthorized: isApp