Skip to content

Commit

Permalink
Revert state sync
Browse files Browse the repository at this point in the history
  • Loading branch information
kielbasa-elp committed Feb 21, 2024
1 parent a68ba67 commit f8c76f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web-remix/app/components/pages/pipelines/Builder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export const Builder = ({
});

useEffect(() => {
if (location.state?._isRedirect) {
if (location.state?.reset) {
navigate(
buildUrlWithParams(".", Object.fromEntries(searchParams.entries())),
{ state: null }
Expand Down

0 comments on commit f8c76f3

Please sign in to comment.