Update src/routes/(public)/sites/deploy/+page.svelte

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Atharva Deosthale
2025-09-11 11:36:21 +05:30
committed by GitHub
co-authored by coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
parent a06ef10553
commit 263f4f3e66
@@ -87,8 +87,11 @@
}
} else {
const project = projects.projects.find((p) => p.$id === selectedProject);
const deployUrl = buildDeployUrl(project);
await goto(deployUrl);
if (!project) {
addNotification({ type: 'error', message: 'Selected project not found' });
return;
}
await goto(buildDeployUrl(project));
}
}