We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0f044b commit 3f4879eCopy full SHA for 3f4879e
src/contexts/WebContainer/index.tsx
@@ -66,10 +66,12 @@ export const ContainerProvider: FC<{ children: ReactNode }> = memo(
66
const [instance, setInstance] = useState<WebContainer>();
67
useEffect(() => {
68
(async () => {
69
- // biome-ignore lint/complexity/useLiteralKeys: This is a temporary solution
70
- const instance = window['__webcontainer'] || await WebContainer.boot({
71
- coep: 'none',
72
- });
+ const instance =
+ // biome-ignore lint/complexity/useLiteralKeys: This is a temporary solution
+ window['__webcontainer'] ||
+ (await WebContainer.boot({
73
+ coep: 'none',
74
+ }));
75
76
// biome-ignore lint/complexity/useLiteralKeys: This is a temporary solution
77
if (!window['__webcontainer']) {
0 commit comments