Skip to content

Add my subscription page #446

Add my subscription page

Add my subscription page #446

Triggered via pull request November 12, 2024 04:09
Status Failure
Total duration 47s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Typecheck: src/views/MySubscription/index.tsx#L117
Property 'subscription' is missing in type '{ onCloseModal: () => void; }' but required in type 'Props'.
Typecheck: src/views/MySubscription/index.tsx#L142
Type '(_: string, value: SubscriptionDetail) => { title: string | undefined; totalCount: number | undefined; country: string | undefined; admin1: string | undefined; urgency: AlertInfoUrgencyEnum[] | undefined; certainty: AlertInfoCertaintyEnum[] | undefined; severity: AlertInfoSeverityEnum[] | undefined; actions: JSX.Ele...' is not assignable to type '(key: ListKey, datum: SubscriptionDetail, index: number, data: SubscriptionDetail[]) => Props'.
Typecheck: src/views/MySubscription/index.tsx#L143
Type '(subscription: SubscriptionDetail) => string | undefined' is not assignable to type '(datum: SubscriptionDetail, index: number) => ListKey'.
Typecheck: src/views/MySubscription/index.tsx#L157
Type '(_: string, value: SubscriptionDetail) => { title: string | undefined; totalCount: number | undefined; country: string | undefined; admin1: string | undefined; urgency: AlertInfoUrgencyEnum[] | undefined; certainty: AlertInfoCertaintyEnum[] | undefined; severity: AlertInfoSeverityEnum[] | undefined; actions: JSX.Ele...' is not assignable to type '(key: ListKey, datum: SubscriptionDetail, index: number, data: SubscriptionDetail[]) => Props'.
Typecheck: src/views/MySubscription/index.tsx#L158
Type '(subscription: SubscriptionDetail) => string | undefined' is not assignable to type '(datum: SubscriptionDetail, index: number) => ListKey'.
Typecheck
Process completed with exit code 2.