Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
j8seangel committed Aug 29, 2024
1 parent f00aa20 commit f619bc5
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { DEFAULT_VESSEL_GROUP_REPORT_STATE } from 'features/vessel/vessel.config

type VesselGroupReportProperty<P extends VesselGroupReportStateProperty> =
Required<VesselGroupReportState>[P]
export function selectVesselProfileStateProperty<P extends VesselGroupReportStateProperty>(
function selectVesselGroupReportStateProperty<P extends VesselGroupReportStateProperty>(
property: P
) {
return createSelector(
Expand All @@ -17,16 +17,16 @@ export function selectVesselProfileStateProperty<P extends VesselGroupReportStat
)
}

export const selectViewOnlyVesselGroup = selectVesselProfileStateProperty('viewOnlyVesselGroup')
export const selectVesselGroupReportSection = selectVesselProfileStateProperty(
export const selectViewOnlyVesselGroup = selectVesselGroupReportStateProperty('viewOnlyVesselGroup')
export const selectVesselGroupReportSection = selectVesselGroupReportStateProperty(
'vesselGroupReportSection'
)
export const selectVesselGroupReportVesselsSubsection = selectVesselProfileStateProperty(
export const selectVesselGroupReportVesselsSubsection = selectVesselGroupReportStateProperty(
'vesselGroupReportVesselsSubsection'
)
export const selectVesselGroupReportActivitySubsection = selectVesselProfileStateProperty(
export const selectVesselGroupReportActivitySubsection = selectVesselGroupReportStateProperty(
'vesselGroupReportActivitySubsection'
)
export const selectVesselGroupReportEventsSubsection = selectVesselProfileStateProperty(
export const selectVesselGroupReportEventsSubsection = selectVesselGroupReportStateProperty(
'vesselGroupReportEventsSubsection'
)

0 comments on commit f619bc5

Please sign in to comment.