Update setSearchParams call in ObjectTableNavigationButtons to replace URL parameters without adding to history

This commit is contained in:
Tom Butcher 2026-08-09 20:48:11 +01:00
parent 40b567b17e
commit b44eb246eb

View File

@ -84,7 +84,7 @@ const ObjectTableNavigationButtons = ({
}
}
setSearchParams(nextParams)
setSearchParams(nextParams, { replace: true })
},
[searchParams, setSearchParams, objectType]
)