selected items fix

This commit is contained in:
Ryderjj89
2025-10-24 18:41:48 -04:00
parent bd8f0fa2cd
commit 53340fc210

View File

@@ -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}