Skip to content

Commit 8e4e5ee

Browse files
authored
ref(ui): Add missing div props, remove any (#96702)
1 parent 399dfcf commit 8e4e5ee

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

static/app/views/codecov/tests/onboardingSteps/onboardingStep.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const Header = styled('h3')`
2020
`;
2121

2222
// currently no styles are added but this is here for organization and future use
23-
function Content(props: any) {
23+
function Content(props: React.ComponentProps<'div'>) {
2424
return <div {...props} />;
2525
}
2626

static/app/views/insights/database/components/noDataMessage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ interface Props {
1616
isDataAvailable?: boolean;
1717
}
1818

19-
function DivWrapper(props: any) {
19+
function DivWrapper(props: React.ComponentProps<'div'>) {
2020
return <div {...props} />;
2121
}
2222

static/app/views/performance/newTraceDetails/traceDrawer/details/issues/issueSummary.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const LocationWrapper = styled('div')`
118118
}
119119
`;
120120

121-
function Location(props: any) {
121+
function Location(props: React.ComponentProps<'div'>) {
122122
const {children, ...rest} = props;
123123
return (
124124
<LocationWrapper {...rest}>

0 commit comments

Comments
 (0)