Skip to content

Commit 2fd42e8

Browse files
narsaynorathandrewshie-sentry
authored andcommitted
chore(billing): Remove unused prop from upsell modal (#97622)
This prop gets passed down, but it doesn't seem to be used anywhere downstream. `openUpsellModal` doesn't do anything with it.
1 parent 5bf8aea commit 2fd42e8

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

static/gsApp/components/powerFeatureHovercard.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ type Props = {
4848
*/
4949
partial?: boolean;
5050

51-
upsellDefaultSelection?: string;
52-
5351
/**
5452
* Replaces the default learn more button with a more subtle link text that
5553
* opens the upsell modal.
@@ -75,7 +73,6 @@ class PowerFeatureHovercard extends Component<Props> {
7573
openUpsellModal({
7674
organization,
7775
source: id ?? '',
78-
defaultSelection: this.props.upsellDefaultSelection,
7976
});
8077
};
8178

static/gsApp/registerHooks.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,6 @@ const GETSENTRY_HOOKS: Partial<Hooks> = {
330330
<PowerFeatureHovercard
331331
features={['organizations:dashboards-edit']}
332332
id="dashboards-edit"
333-
upsellDefaultSelection="custom-dashboards"
334333
>
335334
{typeof p.children === 'function' ? p.children(p) : p.children}
336335
</PowerFeatureHovercard>

0 commit comments

Comments
 (0)