Skip to content

Commit 5c47a5b

Browse files
author
David Wang
authored
ref(alerts): Remove unused project prop (#68035)
From what I can tell, this project prop is not used anywhere
1 parent 92f4192 commit 5c47a5b

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

static/app/components/selectMembers/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import IdBadge from 'sentry/components/idBadge';
88
import {Tooltip} from 'sentry/components/tooltip';
99
import {t} from 'sentry/locale';
1010
import MemberListStore from 'sentry/stores/memberListStore';
11-
import type {Member, Organization, Project, User} from 'sentry/types';
11+
import type {Member, Organization, User} from 'sentry/types';
1212
import withApi from 'sentry/utils/withApi';
1313

1414
const getSearchKeyForUser = (user: User) =>
@@ -34,7 +34,6 @@ type Props = {
3434
disabled?: boolean;
3535
onInputChange?: (value: any) => any;
3636
placeholder?: string;
37-
project?: Project;
3837
styles?: {control?: (provided: any) => any};
3938
};
4039

static/app/views/alerts/rules/issue/memberTeamFields.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ class MemberTeamFields extends Component<Props> {
106106
<SelectMembers
107107
disabled={disabled}
108108
key={teamSelected ? teamValue : memberValue}
109-
project={project}
110109
organization={organization}
111110
// The value from the endpoint is of type `number`, `SelectMembers` require value to be of type `string`
112111
value={`${ruleData.targetIdentifier}`}

static/app/views/alerts/rules/metric/triggers/actionsPanel/actionTargetSelector.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ export default function ActionTargetSelector(props: Props) {
6666
<SelectMembers
6767
disabled={disabled}
6868
key="member"
69-
project={project}
7069
organization={organization}
7170
value={action.targetIdentifier}
7271
onChange={handleChangeTargetIdentifier}

0 commit comments

Comments
 (0)