Skip to content

Fix comment nesting #160

Fix comment nesting

Fix comment nesting #160

Triggered via pull request October 17, 2024 19:06
Status Failure
Total duration 50s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 warnings
typecheck
frontpage#type-check: command (/home/runner/work/frontpage/frontpage/packages/frontpage) /home/runner/setup-pnpm/node_modules/.bin/pnpm run type-check exited (2)
typecheck
Property 'level' is missing in type '{ comment: CommentModel; postAuthorParam: string; postRkey: string; }' but required in type 'CommentProps'.
typecheck
Property 'level' is missing in type '{ key: number; comment: { type: "comment"; id: number; status: "live"; rkey: string; cid: string; createdAt: Date; authorDid: string & { __brand: "DID"; }; postId: number; body: string; parentCommentId: number | null; ... 5 more ...; postRkey?: string | undefined; }; postAuthorParam: DID; postRkey: string; }' but required in type 'CommentProps'.
typecheck
Property 'level' is missing in type '{ key: number; comment: LiveComment; postAuthorParam: DID; postRkey: string; }' but required in type 'CommentProps'.
typecheck
Process completed with exit code 2.
lint: packages/frontpage/lib/components/ui/dialog.tsx#L56
Function component is not a function declaration
lint: packages/frontpage/lib/components/ui/dialog.tsx#L70
Function component is not a function declaration