Spaces:
Running
Running
test
Browse files- app/page.tsx +1 -0
app/page.tsx
CHANGED
@@ -22,6 +22,7 @@ export default function Home() {
|
|
22 |
error?: string;
|
23 |
data?: any;
|
24 |
} = await roast(form);
|
|
|
25 |
if (res.error) {
|
26 |
setError(res.error);
|
27 |
} else {
|
|
|
22 |
error?: string;
|
23 |
data?: any;
|
24 |
} = await roast(form);
|
25 |
+
|
26 |
if (res.error) {
|
27 |
setError(res.error);
|
28 |
} else {
|