From aff6f54397c32e48119c68e4cb79cb8e6e55e175 Mon Sep 17 00:00:00 2001 From: sylenien Date: Mon, 23 May 2022 13:59:03 +0200 Subject: [PATCH] fix(ui): fix sessionlist modal --- .../components/Session_/EventsBlock/UserCard/UserCard.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/app/components/Session_/EventsBlock/UserCard/UserCard.js b/frontend/app/components/Session_/EventsBlock/UserCard/UserCard.js index ba987cdba..f1a3c556b 100644 --- a/frontend/app/components/Session_/EventsBlock/UserCard/UserCard.js +++ b/frontend/app/components/Session_/EventsBlock/UserCard/UserCard.js @@ -8,6 +8,7 @@ import { Avatar, TextEllipsis, SlideModal, Popup, CountryFlag, Icon } from 'UI' import cn from 'classnames' import { withRequest } from 'HOCs' import SessionInfoItem from '../../SessionInfoItem' +import SessionList from '../Metadata/SessionList'; function UserCard({ className, @@ -15,6 +16,8 @@ function UserCard({ session, width, height, + similarSessions, + loading, }) { const [showUserSessions, setShowUserSessions] = useState(false) const { @@ -93,12 +96,12 @@ function UserCard({ )} - {/* User Sessions } isDisplayed={ showUserSessions } content={ showUserSessions && } onClose={ () => showUserSessions ? setShowUserSessions(false) : null } - /> */} + /> ) }