Merge pull request #4065 from omnivore-app/fix/web-home-next

Make home wider, fix nextOrHome on delete of items
This commit is contained in:
Jackson Harper
2024-06-14 14:19:55 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ export function HomeContainer(): JSX.Element {
<VStack
distribution="start"
css={{
width: '646px',
width: '680px',
gap: '50px',
minHeight: '100vh',
'@mdDown': {

View File

@ -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])