JakgritB commited on
Commit ·
a05a82e
1
Parent(s): f6ac864
fix(frontend): import React for JSX runtime
Browse filesPrevent the Vite dev app from rendering a blank page by ensuring React is available in App.jsx when JSX is transformed.
- frontend/src/App.jsx +1 -1
frontend/src/App.jsx
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
| 9 |
Trash2,
|
| 10 |
Upload,
|
| 11 |
} from "lucide-react";
|
| 12 |
-
import { useEffect, useMemo, useState } from "react";
|
| 13 |
|
| 14 |
const API_BASE = import.meta.env.VITE_API_BASE_URL || "http://localhost:8000";
|
| 15 |
|
|
|
|
| 9 |
Trash2,
|
| 10 |
Upload,
|
| 11 |
} from "lucide-react";
|
| 12 |
+
import React, { useEffect, useMemo, useState } from "react";
|
| 13 |
|
| 14 |
const API_BASE = import.meta.env.VITE_API_BASE_URL || "http://localhost:8000";
|
| 15 |
|