Skip to content

Commit

Permalink
[FIX] popup root element id
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnBra committed May 12, 2022
1 parent 2d350b4 commit 75f0458
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vite-web-extension",
"displayName": "Web Extension Boilerplate",
"version": "1.0.0",
"version": "1.0.1",
"description": "A simple chrome extension template with Vite, React, TypeScript and Tailwind CSS.",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/popup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import '@assets/styles/tailwind.css';
import Popup from '@pages/popup/Popup';

function init() {
const rootContainer = document.querySelector("#app-container");
const rootContainer = document.querySelector("#_root");
if (!rootContainer) throw new Error("Can't find Popup root element");
const root = createRoot(rootContainer);
root.render(<Popup />);
Expand Down

0 comments on commit 75f0458

Please sign in to comment.