diff --git a/index.html b/index.html
index 57442bb..036b8b7 100644
--- a/index.html
+++ b/index.html
@@ -1,13 +1,12 @@
-
-
-
-
-
- dyad-generated-app
-
-
-
-
-
-
-
+
+
+
+
+
+ Notes App
+
+
+
+
+
+
\ No newline at end of file
diff --git a/postcss.config.js b/postcss.config.js
index 96bb01e..e99ebc2 100644
--- a/postcss.config.js
+++ b/postcss.config.js
@@ -1,4 +1,4 @@
-module.exports = {
+export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
diff --git a/src/App.tsx b/src/App.tsx
index 246486d..9b9a568 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -26,10 +26,8 @@ const App = () => {
const [isLoading, setIsLoading] = useState(true);
useEffect(() => {
- // Vérifier le token au démarrage
const checkAuth = async () => {
try {
- // Vérifier si le token est valide
if (AuthService.getToken()) {
await AuthService.checkTokenValidity();
}
@@ -55,8 +53,6 @@ const App = () => {
-
-
} />
@@ -71,6 +67,8 @@ const App = () => {
} />
+
+
diff --git a/src/main.tsx b/src/main.tsx
index ce55ab1..e45c95e 100644
--- a/src/main.tsx
+++ b/src/main.tsx
@@ -1,5 +1,8 @@
-import { createRoot } from "react-dom/client";
-import App from "./App.tsx";
-import "./globals.css";
-
-createRoot(document.getElementById("root")!).render();
+import { createRoot } from "react-dom/client";
+import App from "./App";
+import "./globals.css";
+
+const root = document.getElementById("root");
+if (!root) throw new Error("Root element not found");
+
+createRoot(root).render();
\ No newline at end of file