fix(locales): type error in pt.ts

This commit is contained in:
安忆 2023-11-23 11:02:20 +08:00
parent f2485931d9
commit 6527074cde
No known key found for this signature in database
GPG Key ID: 190DF37D01FFE4BC

View File

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