Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from helpers import save_as_zip
|
|
| 5 |
import uuid
|
| 6 |
|
| 7 |
def extract_react_preview(code: str) -> str:
|
| 8 |
-
|
| 9 |
react_template = f"""
|
| 10 |
<!DOCTYPE html>
|
| 11 |
<html lang="en">
|
|
|
|
| 5 |
import uuid
|
| 6 |
|
| 7 |
def extract_react_preview(code: str) -> str:
|
| 8 |
+
# Write preview.html with basic React support
|
| 9 |
react_template = f"""
|
| 10 |
<!DOCTYPE html>
|
| 11 |
<html lang="en">
|