Skip to content

Commit 848aa8c

Browse files
committed
Allow users to delete/clear the Anniversary Date
1 parent 8734e41 commit 848aa8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/components/Contacts/ContactDetails/ContactDetailsTab/People/Items/PersonModal/PersonShowMore

src/components/Contacts/ContactDetails/ContactDetailsTab/People/Items/PersonModal/PersonShowMore/PersonShowMore.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export const PersonShowMore: React.FC<PersonShowMoreProps> = ({
185185
? backupAnniversaryDate
186186
: anniversaryDate
187187
}
188-
onChange={(date) => date && handleDateChange(date)}
188+
onChange={(date) => handleDateChange(date)}
189189
/>
190190
</Grid>
191191
</Grid>

0 commit comments

Comments
 (0)