Spaces:
Sleeping
Sleeping
Update src/components/deploy-button/deploy-button.tsx
Browse files
src/components/deploy-button/deploy-button.tsx
CHANGED
|
@@ -13,11 +13,12 @@ const downloadFile = (filename: string, content: string) => {
|
|
| 13 |
|
| 14 |
function DeployButton({
|
| 15 |
html,
|
| 16 |
-
error, //
|
| 17 |
}: {
|
| 18 |
html: string;
|
| 19 |
-
error?: boolean;
|
| 20 |
}) {
|
|
|
|
| 21 |
const [loading, setLoading] = useState(false);
|
| 22 |
|
| 23 |
const handleDownload = () => {
|
|
|
|
| 13 |
|
| 14 |
function DeployButton({
|
| 15 |
html,
|
| 16 |
+
error: _error, // ✅ Renamed to "_error" to avoid unused warning
|
| 17 |
}: {
|
| 18 |
html: string;
|
| 19 |
+
error?: boolean;
|
| 20 |
}) {
|
| 21 |
+
|
| 22 |
const [loading, setLoading] = useState(false);
|
| 23 |
|
| 24 |
const handleDownload = () => {
|