mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-28 05:10:17 +08:00
Make sure to pass isLoaded to effect on release notes screen
This commit is contained in:
parent
f62eb739b9
commit
49b0ffb608
@ -97,7 +97,7 @@ const ReleaseNotes: FunctionComponent<Omit<
|
||||
useEffect(() => {
|
||||
const timer = setTimeout(() => !isLoaded && setDidHitMaxWaitTime(true), MAX_WAIT_TIME);
|
||||
return () => clearTimeout(timer);
|
||||
}, []);
|
||||
}, [isLoaded]);
|
||||
|
||||
return (
|
||||
<PureReleaseNotes
|
||||
|
Loading…
x
Reference in New Issue
Block a user