chore: clean up type errors and warnings
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user