Skip to content

Commit

Permalink
type directive fix
Browse files Browse the repository at this point in the history
  • Loading branch information
timolegros committed Aug 7, 2024
1 parent 1397b34 commit bad42cf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,7 @@ export async function __createThreadComment(
address_id: address.id,
community_id: thread.community_id,
parent_id: null,
// @ts-expect-error <StrictNullChecks>
canvas_signed_data: canvasSignedData,
// @ts-expect-error <StrictNullChecks>
canvas_hash: canvasHash,
discord_meta: discordMeta,
reaction_count: 0,
Expand Down
2 changes: 0 additions & 2 deletions packages/commonwealth/server/util/sanitizeDeletedComment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ export function sanitizeDeletedComment(
is_user_default: false,
},
address_id: 0,
// @ts-expect-error <StrictNullChecks>
canvas_hash: null,
// @ts-expect-error <StrictNullChecks>
canvas_signed_data: null,
plaintext: '[deleted]',
text: '[deleted]',
Expand Down

0 comments on commit bad42cf

Please sign in to comment.