Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adhityamamallan committed Dec 30, 2024
1 parent 0c5d2d8 commit 9f43db8
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/views/shared/workflows-header/workflows-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,10 @@ export default function WorkflowsHeader<
<SegmentedControl
activeKey={inputType}
onChange={({ activeKey }) => {
setQueryParams(
{
[inputTypeQueryParamKey]:
activeKey === 'query' ? 'query' : 'search',
} as Partial<PageQueryParamSetterValues<P>>
// { replace: false, pageRerender: true }
);
setQueryParams({
[inputTypeQueryParamKey]:
activeKey === 'query' ? 'query' : 'search',
} as Partial<PageQueryParamSetterValues<P>>);
}}
overrides={overrides.inputToggle}
>
Expand Down

0 comments on commit 9f43db8

Please sign in to comment.