diff --git a/frontend/src/routes/reportbug/+page.svelte b/frontend/src/routes/reportbug/+page.svelte index f88cf7f..1d9e40a 100644 --- a/frontend/src/routes/reportbug/+page.svelte +++ b/frontend/src/routes/reportbug/+page.svelte @@ -7,7 +7,7 @@ const handleBugSubmit = async () => { if (bugText) { await postBugData(bugText) - goto("javascript:history.back()") + goto(window.location = "javascript:history.back()") } else { console.log("error"); }