fix: add null check for neededItems in RSVPForm
This commit is contained in:
@@ -196,7 +196,7 @@ const RSVPForm: React.FC = () => {
|
||||
</>
|
||||
)}
|
||||
|
||||
{neededItems.length > 0 && (
|
||||
{neededItems && neededItems.length > 0 && (
|
||||
<FormControl fullWidth>
|
||||
<InputLabel>What items are you bringing?</InputLabel>
|
||||
<Select
|
||||
|
||||
Reference in New Issue
Block a user