Skip to content

Commit 0f297a4

Browse files
authored
Fix toast + nagivation bug (#920)
1 parent 2420c97 commit 0f297a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/toast/Toast.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const Toast = props => {
5353
timeout.current = null;
5454
}
5555
}
56+
return () => clearTimeout(timeout.current);
5657
}, [is_open]);
5758

5859
return (

0 commit comments

Comments
 (0)