From d4d776d1eec7f92289068d960985f8e99e0866fc Mon Sep 17 00:00:00 2001 From: Clint Goodman Date: Tue, 20 Dec 2022 12:59:44 -0700 Subject: [PATCH] combobox: changing example to be more inclusive --- packages/@react-spectrum/combobox/docs/ComboBox.mdx | 2 +- packages/@react-spectrum/picker/docs/Picker.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@react-spectrum/combobox/docs/ComboBox.mdx b/packages/@react-spectrum/combobox/docs/ComboBox.mdx index 2a7977ba616..6b2be8b4795 100644 --- a/packages/@react-spectrum/combobox/docs/ComboBox.mdx +++ b/packages/@react-spectrum/combobox/docs/ComboBox.mdx @@ -835,7 +835,7 @@ function Example() { validationState={!animalId ? undefined : isValid ? 'valid' : 'invalid'} label="Favorite animal" description="Pick your favorite animal, you will be judged." - errorMessage={animalId === 2 ? 'The author of this example is a dog person.' : 'Oh god it\'s a snake! Choose anything else.'} + errorMessage={animalId === 2 ? 'The author of this example is a dog person.' : 'Oh no it\'s a snake! Choose anything else.'} items={options} selectedKey={animalId} onSelectionChange={selected => setAnimalId(selected)}> diff --git a/packages/@react-spectrum/picker/docs/Picker.mdx b/packages/@react-spectrum/picker/docs/Picker.mdx index 17ce7b173c9..67118e97b4f 100644 --- a/packages/@react-spectrum/picker/docs/Picker.mdx +++ b/packages/@react-spectrum/picker/docs/Picker.mdx @@ -373,7 +373,7 @@ function Example() { validationState={isValid ? 'valid' : 'invalid'} label="Favorite animal" description="Pick your favorite animal, you will be judged." - errorMessage={animalId === 2 ? 'The author of this example is a dog person.' : 'Oh god it\'s a snake! Choose anything else.'} + errorMessage={animalId === 2 ? 'The author of this example is a dog person.' : 'Oh no it\'s a snake! Choose anything else.'} items={options} selectedKey={animalId} onSelectionChange={selected => setAnimalId(selected)}>