refactor(#10336): semantics
This commit is contained in:
parent
0ac4d744fd
commit
bf527cd6e7
2 changed files with 8 additions and 2 deletions
|
|
@ -64,7 +64,7 @@ const preview = {
|
|||
const story = Story();
|
||||
if (!initialized) {
|
||||
const channel = addons.getChannel();
|
||||
requestIdleCallback(() => {
|
||||
(globalThis.requestIdleCallback || setTimeout)(() => {
|
||||
channel.emit(FORCE_REMOUNT, { storyId: context.id });
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue