Commit 72aa6d00 authored by nanahira's avatar nanahira

fix mobile logout

parent ac0bbe33
......@@ -1978,10 +1978,26 @@ function ImageGenContent(): JSX.Element {
fontSize: '0.875rem',
opacity: 0.8,
width: 'max-content',
marginRight: '20px',
}}
>
Upload
</ImportImageButton>
<ImportImageButton
onClick={() => {
mycard.logout()
}}
style={{
fontSize: '0.875rem',
opacity: 0.8,
width: 'max-content',
visibility: mycard.isActive
? 'visible'
: 'hidden',
}}
>
Logout
</ImportImageButton>
<div style={{ flex: '0 1 20px' }} />
</Fragment>
)}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment