Skip to content
This repository was archived by the owner on Mar 27, 2018. It is now read-only.

Commit 41470ac

Browse files
author
Ian Wensink
committed
fix(bootstrapper): make sure components are unmounted after bootstrap
1 parent 22e9770 commit 41470ac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/utils/waitForHnData.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ export default async function(children) {
2828
<DrupalPageContextProvider>{children}</DrupalPageContextProvider>
2929
);
3030

31-
await asyncBootstrapper(drupalContextProvider);
31+
await asyncBootstrapper(drupalContextProvider, {
32+
componentWillUnmount: true,
33+
});
3234

3335
return drupalContextProvider;
3436
}

0 commit comments

Comments
 (0)