We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d59e2e commit 9727cffCopy full SHA for 9727cff
app/view-pending/page.tsx
@@ -36,8 +36,7 @@ export default function PendingComponentsPage() {
36
const [isAuthenticated, setIsAuthenticated] = useState(false)
37
const [isProcessing, setIsProcessing] = useState(false)
38
39
- const baseUrl = process.env.NEXT_PUBLIC_API_URL;
40
-
+
41
// Store pending components in Redis
42
43
const storePendingComponents = async (components: PendingComponent[]) => {
@@ -132,7 +131,7 @@ export default function PendingComponentsPage() {
132
131
}
133
134
await axios.patch(
135
- `${baseUrl}/api/dashboard`,
+ `/api/dashboard`,
136
{ id, status },
137
{ params: { email: adminEmail, password: adminPassword } }
138
)
0 commit comments