forked from XiaoMo/ChatGPT-Next-Web
Merge pull request #3354 from AnYiEE/fix-type
This commit is contained in:
commit
a62ab3c649
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user