chore: fix upload btn behaior in mobile view
This commit is contained in:
parent
fa7a6e85f4
commit
8167c5d05f
@ -1,4 +1,4 @@
|
|||||||
import { Add, CalendarMonth, Description, Upload } from '@mui/icons-material'
|
import { CalendarMonth, Description, Upload } from '@mui/icons-material'
|
||||||
import { Box, Button, Tooltip, Typography } from '@mui/material'
|
import { Box, Button, Tooltip, Typography } from '@mui/material'
|
||||||
import JSZip from 'jszip'
|
import JSZip from 'jszip'
|
||||||
import { Event, kinds, verifyEvent } from 'nostr-tools'
|
import { Event, kinds, verifyEvent } from 'nostr-tools'
|
||||||
@ -110,13 +110,6 @@ export const HomePage = () => {
|
|||||||
>
|
>
|
||||||
Upload
|
Upload
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
|
||||||
variant="contained"
|
|
||||||
startIcon={<Add />}
|
|
||||||
onClick={() => navigate(appPrivateRoutes.create)}
|
|
||||||
>
|
|
||||||
Create
|
|
||||||
</Button>
|
|
||||||
</Box>
|
</Box>
|
||||||
{/* This is for mobile view */}
|
{/* This is for mobile view */}
|
||||||
<Box
|
<Box
|
||||||
@ -129,21 +122,10 @@ export const HomePage = () => {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Tooltip title="Upload" arrow>
|
<Tooltip title="Upload" arrow>
|
||||||
<Button
|
<Button variant="outlined" onClick={handleUploadClick}>
|
||||||
variant="outlined"
|
|
||||||
onClick={() => navigate(appPrivateRoutes.sign)}
|
|
||||||
>
|
|
||||||
<Upload />
|
<Upload />
|
||||||
</Button>
|
</Button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<Tooltip title="Create" arrow>
|
|
||||||
<Button
|
|
||||||
variant="contained"
|
|
||||||
onClick={() => navigate(appPrivateRoutes.create)}
|
|
||||||
>
|
|
||||||
<Add />
|
|
||||||
</Button>
|
|
||||||
</Tooltip>
|
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
<Box className={styles.submissions}>
|
<Box className={styles.submissions}>
|
||||||
|
Loading…
Reference in New Issue
Block a user