fix(locales): type error in pt.ts

This commit is contained in:
安忆
2023-11-23 11:02:20 +08:00
parent f2485931d9
commit 6527074cde

View File

@@ -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