Skip to content

Commit

Permalink
use history.push
Browse files Browse the repository at this point in the history
  • Loading branch information
bnussman committed Mar 19, 2024
1 parent 4dfb984 commit 4a3e081
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const useLinodeCreateQueryParams = () => {

const updateParams = (params: Partial<LinodeCreateQueryParams>) => {
const newParams = new URLSearchParams({ ...rawParams, ...params });
history.replace({ search: newParams.toString() });
history.push({ search: newParams.toString() });
};

const params = {
Expand Down

0 comments on commit 4a3e081

Please sign in to comment.