mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-24 05:07:06 +08:00
feat: add new rule for floating promise (#2726)
Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
@@ -34,7 +34,7 @@ export const NotfoundPage = () => {
|
||||
<Button
|
||||
shape="round"
|
||||
onClick={() => {
|
||||
router.push('/');
|
||||
router.push('/').catch(err => console.error(err));
|
||||
}}
|
||||
>
|
||||
{t['Back Home']()}
|
||||
|
||||
Reference in New Issue
Block a user