🐛 fixing goto() bug
Co-authored-by: haraldnilsen <harald_998@hotmail.com> Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
		
							parent
							
								
									3cbf89e8b3
								
							
						
					
					
						commit
						48c17084df
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -7,7 +7,7 @@ | ||||||
|     const handleBugSubmit = async () => { |     const handleBugSubmit = async () => { | ||||||
|         if (bugText) { |         if (bugText) { | ||||||
|             await postBugData(bugText) |             await postBugData(bugText) | ||||||
|             goto("javascript:history.back()") |             goto(window.location = "javascript:history.back()") | ||||||
|         } else { |         } else { | ||||||
|             console.log("error"); |             console.log("error"); | ||||||
|         } |         } | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 Sindre Kjelsrud
						Sindre Kjelsrud