From 76f8242332fbbc2747ae1b5d2ea1e8658f0b25e0 Mon Sep 17 00:00:00 2001 From: Thomas Huang Date: Mon, 6 Jun 2022 09:05:11 -0700 Subject: [PATCH] Set Setting description prop to be either object or string. --- ui/pages/onboarding-flow/privacy-settings/setting.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/pages/onboarding-flow/privacy-settings/setting.js b/ui/pages/onboarding-flow/privacy-settings/setting.js index 82ba1275ca3d..f2951fc97979 100644 --- a/ui/pages/onboarding-flow/privacy-settings/setting.js +++ b/ui/pages/onboarding-flow/privacy-settings/setting.js @@ -29,5 +29,5 @@ Setting.propTypes = { value: PropTypes.bool, setValue: PropTypes.func, title: PropTypes.string, - description: PropTypes.string, + description: PropTypes.oneOfType([PropTypes.object, PropTypes.string]), };