mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-09 11:36:38 +08:00
fix: setting bug
This commit is contained in:
parent
348b361200
commit
1d5e200eed
@ -316,7 +316,7 @@ export function Settings(props: { closeSettings: () => void }) {
|
|||||||
open={showEmojiPicker}
|
open={showEmojiPicker}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className={styles.avatar}a
|
className={styles.avatar}
|
||||||
onClick={() => setShowEmojiPicker(true)}
|
onClick={() => setShowEmojiPicker(true)}
|
||||||
>
|
>
|
||||||
<Avatar role="user" />
|
<Avatar role="user" />
|
||||||
@ -324,6 +324,11 @@ export function Settings(props: { closeSettings: () => void }) {
|
|||||||
</Popover>
|
</Popover>
|
||||||
</SettingItem>
|
</SettingItem>
|
||||||
|
|
||||||
|
{enabledAccessControl ? (
|
||||||
|
<></>
|
||||||
|
) : (
|
||||||
|
<></>
|
||||||
|
)}
|
||||||
|
|
||||||
<SettingItem
|
<SettingItem
|
||||||
title={Locale.Settings.Token.Title}
|
title={Locale.Settings.Token.Title}
|
||||||
|
Loading…
Reference in New Issue
Block a user