Make EditableCard onEdit optional so reassignment gating type-checks

Fixkamo-internal
Shipped
July 2, 2026 at 2:53 AM UTC
Author
kamo
Commit
3ca688c

The assignment card passes `canReassignManually ? startEditAssignment : undefined` to EditableCard.onEdit, but onEdit was typed `() => void` (required), failing the production type check. Make onEdit optional and hide the edit affordance when it's absent (a card the user can't edit shows no pencil).

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing