fixed isAdmin logic #13286
Annotations
4 errors and 4 warnings
typecheck:
src/routes/event-match.tsx#L1
Type '{ match: { redAlliance: string[]; blueAlliance: string[]; time?: Date | undefined; key: string; videos?: string[] | null | undefined; redScore?: number | undefined; blueScore?: number | undefined; scheduledTime?: Date | undefined; }; eventKey: string; }' is not assignable to type 'IntrinsicAttributes & MatchCardProps & Readonly<Attributes & { children?: ComponentChildren; ref?: Ref<any> | undefined; }>'.
|
typecheck:
src/routes/event-team-matches.tsx#L1
Type '{ matches: { redAlliance: string[]; blueAlliance: string[]; time?: Date | undefined; key: string; videos?: string[] | null | undefined; redScore?: number | undefined; blueScore?: number | undefined; scheduledTime?: Date | undefined; }[]; eventKey: string; }' is not assignable to type 'IntrinsicAttributes & Props'.
|
typecheck:
src/routes/event-team.tsx#L1
Type '{ match: { redAlliance: string[]; blueAlliance: string[]; time?: Date | undefined; key: string; videos?: string[] | null | undefined; redScore?: number | undefined; blueScore?: number | undefined; scheduledTime?: Date | undefined; }; eventKey: string; link: true; }' is not assignable to type 'IntrinsicAttributes & MatchCardProps & Readonly<Attributes & { children?: ComponentChildren; ref?: Ref<any> | undefined; }>'.
|
typecheck
Process completed with exit code 2.
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
typecheck
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|