We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97a17ec commit 414b084Copy full SHA for 414b084
components/fiscal-sponsorship/contact.js
@@ -7,13 +7,13 @@ const phoneNumberUri = '+1-844-237-2290'
7
const email = '[email protected]'
8
9
export default function ContactBanner({ sx }) {
10
- const { step } = useMultiStepContext()
11
- const firstStep = step === 0
+ const stepContext = useMultiStepContext()
+ const firstStep = stepContext?.step === 0
12
13
return (
14
<Flex
15
sx={{
16
- display: firstStep ? 'block' : ['none', 'block'],
+ display: firstStep ? 'flex' : ['none', 'flex'],
17
bg: 'sunken',
18
color: 'slate',
19
alignItems: 'center',
0 commit comments