🐛 fixing goto() bug

Co-authored-by: haraldnilsen <harald_998@hotmail.com>
Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
Sindre Kjelsrud 2024-01-14 15:50:29 +01:00
parent 3cbf89e8b3
commit 48c17084df
Signed by untrusted user who does not match committer: sidski
GPG key ID: D2BBDF3EDE6BA9A6

View file

@ -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");
}