feat: frontend map pins #1928
Annotations
10 warnings
run-linters:
sites/partners/__tests__/testUtils.tsx#L27
Unexpected any. Specify a different type
|
run-linters:
sites/partners/src/components/applications/PaperApplicationForm/sections/FormDemographics.tsx#L54
React Hook useMemo has a missing dependency: 'formValues?.race'. Either include it or remove the dependency array
|
run-linters:
sites/partners/src/components/listings/ListingFormActions.tsx#L843
React Hook useMemo has missing dependencies: 'isListingApprovalEnabled', 'isListingCopier', 'listingJurisdiction?.publicUrl', 'profile?.userRoles.isAdmin', 'profile?.userRoles.isJurisdictionalAdmin', 'profile?.userRoles.isLimitedJurisdictionalAdmin', 'profile?.userRoles.isPartner', 'setErrorAlert', 'showCopyListingDialog', and 'showSaveBeforeExitDialog'. Either include them or remove the dependency array. If 'showSaveBeforeExitDialog' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
run-linters:
sites/partners/src/components/listings/PaperListingForm/dialogs/CopyListingDialog.tsx#L7
'useRouter' is defined but never used
|
run-linters:
sites/partners/src/components/listings/PaperListingForm/index.tsx#L270
React Hook useCallback has a missing dependency: 'setListingName'. Either include it or remove the dependency array. If 'setListingName' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
run-linters:
sites/partners/src/components/listings/PaperListingForm/sections/SelectAndOrder.tsx#L31
Unexpected any. Specify a different type
|
run-linters:
sites/partners/src/lib/helpers.ts#L179
Unexpected any. Specify a different type
|
run-linters:
sites/partners/src/lib/helpers.ts#L199
Unexpected any. Specify a different type
|
run-linters:
sites/partners/src/lib/hooks.ts#L160
React Hook useCallback has missing dependencies: 'addToast' and 'listingsService'. Either include them or remove the dependency array
|
run-linters:
sites/partners/src/lib/hooks.ts#L582
React Hook useCallback has missing dependencies: 'addToast', 'applicationsService', 'forLottery', 'includeDemographics', 'listingId', and 'lotteryService'. Either include them or remove the dependency array
|