diff --git a/app/components/settings.tsx b/app/components/settings.tsx index 931d87ec6..3d1911da8 100644 --- a/app/components/settings.tsx +++ b/app/components/settings.tsx @@ -299,23 +299,31 @@ export function Settings(props: { closeSettings: () => void }) {
- {enabledAccessControl ? ( - + setShowEmojiPicker(false)} + content={ + { + updateConfig((config) => (config.avatar = e.unified)); + setShowEmojiPicker(false); + }} + /> + } + open={showEmojiPicker} > - { - accessStore.updateCode(e.currentTarget.value); - }} - /> - - ) : ( - <> - )} +
setShowEmojiPicker(true)} + > + +
+ + + void }) { /> +