浏览代码

fix: the locale format(#20662) (#20665)

Co-authored-by: Xiaoba Yu <xb1823725853@gmail.com>
tags/1.4.2
XiaoBa 4 个月前
父节点
当前提交
1fbbbb735d
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2
    3
      web/app/components/header/maintenance-notice.tsx

+ 2
- 3
web/app/components/header/maintenance-notice.tsx 查看文件

@@ -1,11 +1,10 @@
import { useState } from 'react'
import { useContext } from 'use-context-selector'
import I18n from '@/context/i18n'
import { X } from '@/app/components/base/icons/src/vender/line/general'
import { NOTICE_I18N } from '@/i18n/language'
import { useLanguage } from '@/app/components/header/account-setting/model-provider-page/hooks'

const MaintenanceNotice = () => {
const { locale } = useContext(I18n)
const locale = useLanguage()

const [showNotice, setShowNotice] = useState(localStorage.getItem('hide-maintenance-notice') !== '1')
const handleJumpNotice = () => {

正在加载...
取消
保存