Skip to content

Commit

Permalink
refactor: update data type definitions for AlertAveragesGraph and Ale…
Browse files Browse the repository at this point in the history
…rtCountGraph components
  • Loading branch information
mastercactapus committed Dec 26, 2024
1 parent 2c5e820 commit d1cf842
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/app/services/AlertMetrics/AlertAveragesGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const CustomDot = (props: CustomDotProps): JSX.Element => {
}

interface AlertAveragesGraphProps {
data: (typeof LineChart.defaultProps)['data']
data: React.ComponentProps<typeof LineChart>['data']
loading: boolean
}

Expand Down
2 changes: 1 addition & 1 deletion web/src/app/services/AlertMetrics/AlertCountGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
} from 'recharts'

interface AlertCountGraphProps {
data: (typeof ComposedChart.defaultProps)['data']
data: React.ComponentProps<typeof ComposedChart>['data']
loading: boolean
}

Expand Down

0 comments on commit d1cf842

Please sign in to comment.