forked from coracle/flotilla
Handle deleted threads
This commit is contained in:
@@ -3,12 +3,13 @@
|
||||
|
||||
export let href
|
||||
export let external = false
|
||||
export let replaceState = false
|
||||
|
||||
const go = (e: Event) => {
|
||||
if (!external) {
|
||||
e.preventDefault()
|
||||
|
||||
goto(href)
|
||||
goto(href, {replaceState})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user