Skip to content

Commit

Permalink
better props typing
Browse files Browse the repository at this point in the history
  • Loading branch information
j8seangel committed Sep 19, 2024
1 parent 2676184 commit d6e4d2c
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ import I18nNumber, { formatI18nNumber } from 'features/i18n/i18nNumber'
import { EMPTY_API_VALUES, OTHERS_CATEGORY_LABEL } from 'features/area-report/reports.config'
import { formatInfoField } from 'utils/info'
import { useLocationConnect } from 'routes/routes.hook'
import { VesselGroupReportVesselsSubsection } from 'features/vessel-groups/vessel-groups.types'
import {
VesselGroupReportState,
VesselGroupReportVesselsSubsection,
} from 'features/vessel-groups/vessel-groups.types'
import styles from './VesselGroupReportVesselsGraph.module.css'

type ReportGraphTooltipProps = {
Expand Down Expand Up @@ -141,8 +144,8 @@ export default function VesselGroupReportVesselsGraph({
data: VesselGroupEventsStatsResponseGroups
color?: string
property: VesselGroupReportVesselsGraphProperty
filterQueryParam: string
pageQueryParam: string
filterQueryParam: keyof VesselGroupReportState
pageQueryParam: keyof VesselGroupReportState
}) {
return (
<Fragment>
Expand Down

0 comments on commit d6e4d2c

Please sign in to comment.