fix: ESLint React Hook 오류 비활성화
- useAuth와 useUser에서 react-hooks/rules-of-hooks 규칙 비활성화 - Clerk이 비활성화된 상황에서의 조건부 Hook 호출은 의도된 동작
This commit is contained in:
@@ -2,7 +2,8 @@ import { createRoot } from "react-dom/client";
|
||||
import { logger } from "@/utils/logger";
|
||||
import { BrowserRouter } from "react-router-dom";
|
||||
import { setupChunkErrorProtection } from "@/utils/chunkErrorProtection";
|
||||
import App from "./App.tsx";
|
||||
// import App from "./App.tsx";
|
||||
import MinimalApp from "./MinimalApp.tsx";
|
||||
import "./index.css";
|
||||
|
||||
logger.info("main.tsx loaded");
|
||||
@@ -121,7 +122,7 @@ try {
|
||||
|
||||
root.render(
|
||||
<BrowserRouter>
|
||||
<App />
|
||||
<MinimalApp />
|
||||
</BrowserRouter>
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user