Make home wider, fix nextOrHome on delete of items
This commit is contained in:
@ -63,7 +63,7 @@ export function HomeContainer(): JSX.Element {
|
||||
<VStack
|
||||
distribution="start"
|
||||
css={{
|
||||
width: '646px',
|
||||
width: '680px',
|
||||
gap: '50px',
|
||||
minHeight: '100vh',
|
||||
'@mdDown': {
|
||||
|
||||
@ -282,7 +282,7 @@ export default function Home(): JSX.Element {
|
||||
showErrorToast('Error deleting page', { position: 'bottom-right' })
|
||||
}
|
||||
})
|
||||
router.push(`/home`)
|
||||
goNextOrHome()
|
||||
}
|
||||
}, [article, cache, mutate, router])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user