Skip to content

Add historical alerts table #470

Add historical alerts table

Add historical alerts table #470

Triggered via pull request November 15, 2024 11:20
Status Failure
Total duration 54s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
Typecheck: src/views/HistoricalAlerts/index.tsx#L246
Argument of type '() => { filters: undefined; pagination: { offset: number; limit: number; }; } | { filters: { country: { pk: DjangoModelFilterInput; }; }; pagination: { offset: number; limit: number; }; }' is not assignable to parameter of type '() => Exact<{ filters?: InputMaybe<Admin1Filter> | undefined; pagination?: InputMaybe<OffsetPaginationInput> | undefined; }>'.
Typecheck: src/views/HistoricalAlerts/index.tsx#L455
Type 'InputMaybe<DjangoModelFilterInput> | undefined' is not assignable to type 'OptionKey | null | undefined'.
Typecheck: src/views/HistoricalAlerts/index.tsx#L456
Type '(...args: EntriesAsList<AlertFilter>) => void' is not assignable to type '((newValue: OptionKey, name: "country", value: { __typename?: "CountryType" | undefined; name: string; id: string; }) => void) | ((newValue: OptionKey | undefined, name: "country", value: { ...; } | undefined) => void)'.
Typecheck
Process completed with exit code 2.
Lint JS: src/views/HistoricalAlerts/index.tsx#L260
A space is required before '}'
Lint JS
Process completed with exit code 1.
Lint JS: src/views/HistoricalAlerts/index.tsx#L49
Imports must be broken into multiple lines if there are more than 1 elements