remove navigation to edit page on dialog close in GLMBanner component

This commit is contained in:
Randy Lu
2025-10-08 11:46:43 +08:00
parent 909144172f
commit 0343b24425
-1
View File
@@ -95,7 +95,6 @@ export function GLMDialog(props: {
setIsOpen(false)
setApiKey("")
navigate(`/edit/${store.id}`)
// Call onSuccess callback to dismiss the banner
props.onSuccess?.()