File tree Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change 1
1
import { Fragment , useMemo } from 'react' ;
2
2
import styled from '@emotion/styled' ;
3
+ import uniqBy from 'lodash/uniqBy' ;
3
4
4
5
import waitingForEventImg from 'sentry-images/spot/waiting-for-event.svg' ;
5
6
@@ -13,7 +14,6 @@ import InfiniteListState from 'sentry/components/infiniteList/infiniteListState'
13
14
import LoadingIndicator from 'sentry/components/loadingIndicator' ;
14
15
import { t } from 'sentry/locale' ;
15
16
import { space } from 'sentry/styles/space' ;
16
- import uniqueBy from 'sentry/utils/array/uniqBy' ;
17
17
import type { FeedbackIssueListItem } from 'sentry/utils/feedback/types' ;
18
18
import { useListItemCheckboxContext } from 'sentry/utils/list/useListItemCheckboxState' ;
19
19
import { useInfiniteApiQuery } from 'sentry/utils/queryClient' ;
@@ -36,7 +36,7 @@ export default function FeedbackList() {
36
36
} ) ;
37
37
38
38
const issues = useMemo (
39
- ( ) => uniqueBy ( queryResult . data ?. pages . flatMap ( ( [ pageData ] ) => pageData ) ?? [ ] , 'id' ) ,
39
+ ( ) => uniqBy ( queryResult . data ?. pages . flatMap ( ( [ pageData ] ) => pageData ) ?? [ ] , 'id' ) ,
40
40
[ queryResult . data ?. pages ]
41
41
) ;
42
42
const checkboxState = useListItemCheckboxContext ( {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments