Remove unnecessary props from <ContactName>

This commit is contained in:
Evan Hahn
2021-09-16 11:15:43 -05:00
committed by GitHub
parent 43685d15c6
commit eed7aff925
42 changed files with 57 additions and 423 deletions

View File

@@ -26,10 +26,7 @@ story.add("Can't add a contact", () => (
<AddGroupMemberErrorDialog
{...defaultProps}
mode={AddGroupMemberErrorDialogMode.CantAddContact}
contact={{
name: 'Foo Bar',
title: 'Foo Bar',
}}
contact={{ title: 'Foo Bar' }}
/>
));