selected items fix
This commit is contained in:
@@ -618,13 +618,13 @@ const RSVPForm: React.FC = () => {
|
|||||||
|
|
||||||
{neededItems.length > 0 && (
|
{neededItems.length > 0 && (
|
||||||
<>
|
<>
|
||||||
{formData.items_bringing.length > 0 && (
|
{claimedItems.length > 0 && (
|
||||||
<Box sx={{ mb: 2 }}>
|
<Box sx={{ mb: 2 }}>
|
||||||
<Typography variant="subtitle2" gutterBottom sx={{ fontWeight: 500 }}>
|
<Typography variant="subtitle2" gutterBottom sx={{ fontWeight: 500 }}>
|
||||||
Items you're bringing:
|
Items already being brought:
|
||||||
</Typography>
|
</Typography>
|
||||||
<Box sx={{ display: 'flex', flexWrap: 'wrap', gap: 1 }}>
|
<Box sx={{ display: 'flex', flexWrap: 'wrap', gap: 1 }}>
|
||||||
{formData.items_bringing.map((item) => (
|
{claimedItems.map((item) => (
|
||||||
<Chip
|
<Chip
|
||||||
key={item}
|
key={item}
|
||||||
label={item}
|
label={item}
|
||||||
|
|||||||
Reference in New Issue
Block a user