From 75f0458876bee4ea353983eafb5d2a695d2999f1 Mon Sep 17 00:00:00 2001 From: Jonathan Braat Date: Thu, 12 May 2022 22:42:36 +1200 Subject: [PATCH] [FIX] popup root element id --- package.json | 2 +- src/pages/popup/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 4b0281c..6650c09 100755 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/pages/popup/index.tsx b/src/pages/popup/index.tsx index 90770d2..71fa573 100644 --- a/src/pages/popup/index.tsx +++ b/src/pages/popup/index.tsx @@ -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();