Skip to content

Commit

Permalink
Fix no React reference in options page
Browse files Browse the repository at this point in the history
Not yet checked which commit introduced this bug
  • Loading branch information
kachick committed Dec 3, 2024
1 parent 809e9e6 commit 5664f9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/options.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { createRoot } from 'https://esm.sh/v135/[email protected]/client';
import { StrictMode } from 'https://esm.sh/v135/[email protected]';
import * as React from 'https://esm.sh/v135/[email protected]'; // Load whole `React` to avoid no reference, if omitting, should check options page manually
import App from './options/App.tsx';
import { assertIsDefined } from './typeguards.ts';

const root = document.getElementById('root');
assertIsDefined<HTMLElement | null>(root);

createRoot(root).render(
<StrictMode>
<React.StrictMode>
<App />
</StrictMode>,
</React.StrictMode>,
);

0 comments on commit 5664f9a

Please sign in to comment.