fix: robot emoji (#217)

This commit is contained in:
Yuhao 2023-05-26 15:26:56 +08:00 • committed by GitHub
commit d43279a1cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 36 deletions

View file

@ -28,7 +28,7 @@ const CreateAppModal = ({
const [name, setName] = React.useState('')
const [showEmojiPicker, setShowEmojiPicker] = useState(false)
const [emoji, setEmoji] = useState({ icon: '🤖️', icon_background: '#FFEAD5' })
const [emoji, setEmoji] = useState({ icon: '🤖', icon_background: '#FFEAD5' })
const submit = () => {
if(!name.trim()) {
@ -74,7 +74,7 @@ const CreateAppModal = ({
setShowEmojiPicker(false)
}}
onClose={() => {
setEmoji({ icon: '🤖️', icon_background: '#FFEAD5' })
setEmoji({ icon: '🤖', icon_background: '#FFEAD5' })
setShowEmojiPicker(false)
}}
/>}