Skip to content

Commit

Permalink
fix: On query filter, the cursor should be rested
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien2p committed Oct 28, 2022
1 parent 44d7342 commit ec03564
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { useEffect, useMemo, useReducer, useState } from 'react';
import { parseQueryString } from '../utils';
import { defaultFilterValues } from "../types";

type SentryTransactionFilters = {
statsPeriod: string;
Expand Down Expand Up @@ -119,6 +120,7 @@ const reducer = (
return {
...state,
query: action.payload,
cursor: defaultFilterValues.cursor,
};
}
case 'setCursor': {
Expand Down

0 comments on commit ec03564

Please sign in to comment.