+
{version !== null ? <>version: {version}> : null}
query
@@ -51,8 +56,6 @@ export function Root() {
)}
-
-
);
diff --git a/src/features/swr/SwrUsers.tsx b/src/features/swr/SwrUsers.tsx
index dd88d0f..5400379 100644
--- a/src/features/swr/SwrUsers.tsx
+++ b/src/features/swr/SwrUsers.tsx
@@ -1,6 +1,6 @@
import { Outlet } from "react-router-dom";
import useSWR from "swr";
-import { UsersTable } from "@components/UsersTable";
+import { UsersTable } from "@components/UsersTable/UsersTable";
import { usersSchema } from "@models";
import { authHttpClient } from "@utils";
diff --git a/src/features/toolkit-query/ToolkitUsers.tsx b/src/features/toolkit-query/ToolkitUsers.tsx
index da0f8b9..f5c9d77 100644
--- a/src/features/toolkit-query/ToolkitUsers.tsx
+++ b/src/features/toolkit-query/ToolkitUsers.tsx
@@ -1,5 +1,5 @@
import { Outlet } from "react-router-dom";
-import { UsersTable } from "@components/UsersTable";
+import { UsersTable } from "@components/UsersTable/UsersTable";
import { useUsersQuery } from "./store/api/api";
export function ToolkitUsers() {
diff --git a/src/main.tsx b/src/main.tsx
index f90cabd..22bda97 100644
--- a/src/main.tsx
+++ b/src/main.tsx
@@ -1,9 +1,6 @@
import React from "react";
import ReactDOM from "react-dom/client";
import { createHashRouter, RouterProvider } from "react-router-dom";
-import "@mantine/core/styles.css";
-import { MantineProvider } from "@mantine/core";
-import { emotionTransform, MantineEmotionProvider } from "@mantine/emotion";
import { routes } from "@routes";
import { getPublicUrl, tokenSlice } from "@utils";
@@ -12,14 +9,7 @@ const router = createHashRouter(routes);
function start() {
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
-
-
-
-
-
+
,
);
}
diff --git a/tsconfig.json b/tsconfig.json
index edecd7f..4d547fe 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -29,7 +29,8 @@
"@routes/*": ["src/routes/*"],
"@backend": ["src/backend"],
"@backend/*": ["src/backend/*"]
- }
+ },
+ "plugins": [{ "name": "typescript-plugin-css-modules" }]
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]