build: enhance tsconfig type check (#2732)

This commit is contained in:
Himself65
2023-06-09 01:42:58 +08:00
committed by GitHub
parent fc9a9f479b
commit b383ce36cd
34 changed files with 111 additions and 68 deletions

View File

@@ -183,6 +183,7 @@ function NotificationCard(props: NotificationCardProps): ReactElement {
if (notification.undo) {
return notification.undo();
}
return void 0;
}, [notification]);
useEffect(() => {
@@ -200,6 +201,7 @@ function NotificationCard(props: NotificationCardProps): ReactElement {
h.filter(height => height.notificationKey !== notification.key)
);
}
return () => {};
}, [notification.key, setHeights]);
return (
<Toast.Root