Omskriving fakta-institusjon til "v2" #14303
valid-pull-request.yml
on: pull_request
test
/
Kjør enhetstester
6m 39s
storybook-test
/
test
3m 12s
lint-tscheck-build
/
Lint, typescript-sjekk og bygg
1m 48s
Annotations
1 error and 10 warnings
lint-tscheck-build / Lint, typescript-sjekk og bygg
Process completed with exit code 1.
|
lint-tscheck-build / Lint, typescript-sjekk og bygg:
packages/behandling-anke/src/BehandlingAnkeIndex.tsx#L105
React Hook useEffect has missing dependencies: 'addErrorMessage', 'behandlingEventHandler', 'behandlingId', 'henleggBehandling', 'hentBehandling', 'nyBehandlendeEnhet', 'setBehandling', 'setRequestPendingMessage', 'settBehandlingPaVent', and 'taBehandlingAvVent'. Either include them or remove the dependency array
|
lint-tscheck-build / Lint, typescript-sjekk og bygg:
packages/behandling-anke/src/components/AnkeProsess.tsx#L161
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
|
lint-tscheck-build / Lint, typescript-sjekk og bygg:
packages/behandling-anke/src/components/AnkeProsess.tsx#L164
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
|
lint-tscheck-build / Lint, typescript-sjekk og bygg:
packages/behandling-anke/src/components/AnkeProsess.tsx#L167
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
|
lint-tscheck-build / Lint, typescript-sjekk og bygg:
packages/behandling-anke/src/components/AnkeProsess.tsx#L210
React Hook useMemo has a missing dependency: 'data.aksjonspunkter'. Either include it or remove the dependency array
|
lint-tscheck-build / Lint, typescript-sjekk og bygg:
packages/behandling-anke/src/components/AnkeProsess.tsx#L220
React Hook useCallback has a missing dependency: 'opneSokeside'. Either include it or remove the dependency array. If 'opneSokeside' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
lint-tscheck-build / Lint, typescript-sjekk og bygg:
packages/behandling-anke/src/components/AnkeProsess.tsx#L228
React Hook useCallback has a missing dependency: 'opneSokeside'. Either include it or remove the dependency array. If 'opneSokeside' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
lint-tscheck-build / Lint, typescript-sjekk og bygg:
packages/behandling-felles/src/components/InngangsvilkarPanel.tsx#L64
React Hook useCallback has a missing dependency: 'oppdaterProsessStegOgFaktaPanelIUrl'. Either include it or remove the dependency array. If 'oppdaterProsessStegOgFaktaPanelIUrl' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
lint-tscheck-build / Lint, typescript-sjekk og bygg:
packages/behandling-felles/src/components/InngangsvilkarPanel.tsx#L69
React Hook useMemo has a missing dependency: 'filteredPanels'. Either include it or remove the dependency array
|
lint-tscheck-build / Lint, typescript-sjekk og bygg:
packages/behandling-felles/src/components/MargMarkering.tsx#L36
React Hook "useMemo" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?
|