mirror of
https://github.com/acid-info/Kurate.git
synced 2025-01-12 08:54:08 +00:00
fix: potential history back cycle (#375)
This commit is contained in:
parent
48c8e4437a
commit
ef65b831f6
@ -47,7 +47,7 @@
|
||||
})
|
||||
|
||||
let y: number
|
||||
let onBack = () => history.back()
|
||||
let onBack = () => goto(ROUTES.HOME)
|
||||
|
||||
const addToFavorite = () => adapter.addPersonaToFavorite(groupId, persona)
|
||||
const removeFromFavorite = () => adapter.removePersonaFromFavorite(groupId, persona)
|
||||
|
Loading…
x
Reference in New Issue
Block a user