mirror of
https://github.com/LucasVbr/meeting-app.git
synced 2026-12-05 17:30:50 +00:00
Merge branch 'dev' of https://github.com/LucasVbr/projet-web4 into dev
This commit is contained in:
@@ -122,8 +122,9 @@ export default function ModalInviteBar({
|
||||
templateColumns={`repeat(${notificationMatch?.length}, 50%)`}
|
||||
gap={6}
|
||||
>
|
||||
{!isError && !error
|
||||
? notificationMatch?.map((notif: Notification) => {
|
||||
{!isError && !error ? (
|
||||
notificationMatch?.length > 0 ? (
|
||||
notificationMatch?.map((notif: Notification) => {
|
||||
return (
|
||||
<CardMatchedUser
|
||||
key={notif.MatchedUserID}
|
||||
@@ -132,7 +133,10 @@ export default function ModalInviteBar({
|
||||
/>
|
||||
);
|
||||
})
|
||||
: null}
|
||||
) : (
|
||||
<Text fontSize={"xl"}>Aucun match</Text>
|
||||
)
|
||||
) : null}
|
||||
</Grid>
|
||||
</ModalBody>
|
||||
<ModalFooter>
|
||||
|
||||
Reference in New Issue
Block a user