From efa682092fc6f683e5a15511eb7def0eae56166d Mon Sep 17 00:00:00 2001 From: Andy Shultz Date: Thu, 26 Aug 2021 11:09:33 -0400 Subject: [PATCH] feat: specify shape of verified name object at least the fields that we are interested in --- src/account-settings/AccountSettingsPage.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/account-settings/AccountSettingsPage.jsx b/src/account-settings/AccountSettingsPage.jsx index 2716964..61d1330 100644 --- a/src/account-settings/AccountSettingsPage.jsx +++ b/src/account-settings/AccountSettingsPage.jsx @@ -626,7 +626,11 @@ AccountSettingsPage.propTypes = { }), state: PropTypes.string, shouldDisplayDemographicsSection: PropTypes.bool, - verifiedName: PropTypes.object, + verifiedName: PropTypes.shape({ + verified_name: PropTypes.string, + status: PropTypes.string, + verified_name_enabled: PropTypes.bool, + }), }).isRequired, siteLanguage: PropTypes.shape({ previousValue: PropTypes.string,