Skip to content

Commit d811400

Browse files
authored
ref(insights): Add prop types to database alert banner (#96704)
Remove any
1 parent 64505ca commit d811400

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

static/app/views/insights/database/views/databaseLandingPage.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from 'react';
22

3+
import type {AlertProps} from 'sentry/components/core/alert';
34
import {Alert} from 'sentry/components/core/alert';
45
import * as Layout from 'sentry/components/layouts/thirds';
56
import SearchBar from 'sentry/components/searchBar';
@@ -187,7 +188,7 @@ const DEFAULT_SORT = {
187188
kind: 'desc' as const,
188189
};
189190

190-
function AlertBanner(props: any) {
191+
function AlertBanner(props: Omit<AlertProps, 'type' | 'showIcon'>) {
191192
return (
192193
<ModuleLayout.Full>
193194
<Alert.Container>

0 commit comments

Comments
 (0)