Revert "Wrapping ReactSelect styles into CacheProvider (#2365)" (#2419)

This reverts commit 69200b50c7.

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev authored and GitHub committed 2021-03-31 10:23:43 -04:00
1 parent c7e1ab27fd
commit da196387b8
8 files changed
+165 -149

No files matched your search

+1 -7
View File
@@ -19,7 +19,6 @@ import { filesystemProvisionerStore } from "../main/extension-filesystem";
import { App } from "./components/app";
import { LensApp } from "./lens-app";
import { themeStore } from "./theme.store";
import { NonceProvider as StyleCache } from "react-select";
/**
* If this is a development buid, wait a second to attach
@@ -81,14 +80,9 @@ export async function bootstrap(App: AppComponent) {
window.location.href = "about:blank";
}
});
const cacheProps = { nonce: "lens", cacheKey: "lens" };
render(<>
{isMac && <div id="draggable-top" />}
<StyleCache {...cacheProps}>
<App />
</StyleCache>
<App />
</>, rootElem);
}