mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-02-06 09:55:47 +00:00
Update lib/src/Components/Profile/Subcomponents/TabsContainerView.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
9e184379e5
commit
4d19901ad0
@ -71,7 +71,7 @@ export const TabsContainerView = ({ item, tabs = [], iconAsLabels = false }: Pro
|
||||
const params = new URLSearchParams(location.search)
|
||||
params.set('tab', `${index}`)
|
||||
const newUrl = location.pathname + '?' + params.toString()
|
||||
navigate(newUrl, { replace: false })
|
||||
navigate(newUrl)
|
||||
},
|
||||
[location.pathname, location.search, navigate],
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user