chore: clean up type errors and warnings

This commit is contained in:
Henry
2024-07-24 16:05:40 +01:00
parent bfd23406dd
commit d334607a9c
11 changed files with 178 additions and 50 deletions

View File

@@ -195,7 +195,7 @@ export const cardRouter = createTRPCRouter({
input.cardPublicId,
);
if (!card || !card?.list?.id) return;
if (!card ?? !card?.list?.id) return;
const deletedAt = new Date().toISOString();