From 6de04fa8eb99fadb092d67e9f333da0e137b4d47 Mon Sep 17 00:00:00 2001 From: happyhyep Date: Fri, 12 Jan 2024 18:08:15 +0900 Subject: [PATCH] =?UTF-8?q?recoil=20=EC=84=B8=ED=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 5d7e454..d367650 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2,12 +2,17 @@ import React from "react"; import { createRoot } from "react-dom/client"; import App from "./App"; import "src/lang/index"; +import { RecoilRoot } from "recoil"; const rootElement = document.getElementById("root"); if (!rootElement) throw new Error("Failed to find the root element"); const root = createRoot(rootElement); root.render( - - - , + <> + + + + + + , );