fix: potential history back cycle (#375)

This commit is contained in:
Vojtech Simetka 2023-04-03 23:00:58 +02:00 committed by GitHub
parent 48c8e4437a
commit ef65b831f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)