fix: setting bug

This commit is contained in:
fangyuan99 2023-04-19 18:23:25 +08:00 committed by GitHub
parent 348b361200
commit 1d5e200eed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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