✨ feat: update new.astro page

swadhinbiswas committed 3 months ago
23b1011
1 parent 173e539
commit 23b1011
1 file changed
+1 -1
▼src/pages/[owner]/[repo]/issues/new.astro
+1-1
273
273
}
274
274
275
275
// Redirect to the new issue
276
- window.location.href = `/${owner}/${repo}/issues/${result.data.number}`;
276
+ window.location.href = `/${owner}/${repo}/issues/${result.number}`;
277
277
} catch (error) {
278
278
console.error("Error creating issue:", error);
279
279
alert(error instanceof Error ? error.message : "An error occurred");
280
280