Skip to content

Commit dfacee1

Browse files
authored
fix(manage): avoid duplicate home load (#528)
1 parent bd8a002 commit dfacee1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/pages/manage/SideMenu.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ const SideMenuItemWithTo = (props: SideMenuItemProps) => {
5454
onClose()
5555
if (props.refresh) {
5656
e.stopPropagation?.()
57+
e.preventDefault?.()
5758
let to = props.to
5859
if (!to.startsWith("http")) {
5960
to = joinBase(to)

0 commit comments

Comments
 (0)