refactor(#10336): semantics
This commit is contained in:
@@ -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 });
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user