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
commit 83f1736874
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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])