Skip to content

Commit

Permalink
fix(dashboards): Remove sentry/types user imports (#81349)
Browse files Browse the repository at this point in the history
  • Loading branch information
scttcper authored Nov 26, 2024
1 parent db20b41 commit bab1976
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion static/app/components/modals/widgetViewerModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {components} from 'react-select';
import {css} from '@emotion/react';
import styled from '@emotion/styled';
import * as Sentry from '@sentry/react';
import type {User} from '@sentry/types';
import {truncate} from '@sentry/utils';
import type {DataZoomComponentOption} from 'echarts';
import type {Location} from 'history';
Expand Down Expand Up @@ -32,6 +31,7 @@ import {space} from 'sentry/styles/space';
import type {PageFilters, SelectValue} from 'sentry/types/core';
import type {Series} from 'sentry/types/echarts';
import type {Organization} from 'sentry/types/organization';
import type {User} from 'sentry/types/user';
import {defined} from 'sentry/utils';
import {trackAnalytics} from 'sentry/utils/analytics';
import {getUtcDateString} from 'sentry/utils/dates';
Expand Down
2 changes: 1 addition & 1 deletion static/app/views/dashboards/detail.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {cloneElement, Component, Fragment, isValidElement} from 'react';
import styled from '@emotion/styled';
import type {User} from '@sentry/types';
import isEqual from 'lodash/isEqual';
import isEqualWith from 'lodash/isEqualWith';
import omit from 'lodash/omit';
Expand Down Expand Up @@ -32,6 +31,7 @@ import type {PageFilters} from 'sentry/types/core';
import type {PlainRoute, RouteComponentProps} from 'sentry/types/legacyReactRouter';
import type {Organization, Team} from 'sentry/types/organization';
import type {Project} from 'sentry/types/project';
import type {User} from 'sentry/types/user';
import {defined} from 'sentry/utils';
import {trackAnalytics} from 'sentry/utils/analytics';
import {browserHistory} from 'sentry/utils/browserHistory';
Expand Down
2 changes: 1 addition & 1 deletion static/app/views/dashboards/filtersBar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {Fragment} from 'react';
import styled from '@emotion/styled';
import type {User} from '@sentry/types';
import type {Location} from 'history';

import {Button} from 'sentry/components/button';
Expand All @@ -11,6 +10,7 @@ import PageFilterBar from 'sentry/components/organizations/pageFilterBar';
import {ProjectPageFilter} from 'sentry/components/organizations/projectPageFilter';
import {t} from 'sentry/locale';
import {space} from 'sentry/styles/space';
import type {User} from 'sentry/types/user';
import {defined} from 'sentry/utils';
import {trackAnalytics} from 'sentry/utils/analytics';
import {ToggleOnDemand} from 'sentry/utils/performance/contexts/onDemandControl';
Expand Down
2 changes: 1 addition & 1 deletion static/app/views/dashboards/sortableWidget.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type {ComponentProps} from 'react';
import styled from '@emotion/styled';
import type {User} from '@sentry/types';

import {LazyRender} from 'sentry/components/lazyRender';
import PanelAlert from 'sentry/components/panels/panelAlert';
import type {User} from 'sentry/types/user';
import useOrganization from 'sentry/utils/useOrganization';
import {useUser} from 'sentry/utils/useUser';
import {useUserTeams} from 'sentry/utils/useUserTeams';
Expand Down

0 comments on commit bab1976

Please sign in to comment.