From c69bd5b603c48365dc3444f46c941210de58fe87 Mon Sep 17 00:00:00 2001 From: Visa Pollari Date: Mon, 21 Jun 2021 15:08:33 +0300 Subject: [PATCH] Fix button text for see more --- frontend/src/pages/_events/slug/context.js | 1 - frontend/src/pages/_events/slug/default/EventButtons/index.js | 2 -- frontend/src/pages/_index/EventsGrid/index.js | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/src/pages/_events/slug/context.js b/frontend/src/pages/_events/slug/context.js index 822227478..d01abeac3 100644 --- a/frontend/src/pages/_events/slug/context.js +++ b/frontend/src/pages/_events/slug/context.js @@ -210,7 +210,6 @@ export const EventDetailProvider = ({ children }) => { const registration = registrationData?.myRegistration const isRegistrationOpen = event?._eventStatus === EventStatuses.REGISTRATION_OPEN.id - console.log('regidata', registrationData) return ( { const dispatch = useDispatch() const match = useRouteMatch() const isAuthenticated = useSelector(AuthSelectors.isAuthenticated) - console.log('regi', registration) const hasRegistration = registration ? registration.status != 'incomplete' : false diff --git a/frontend/src/pages/_index/EventsGrid/index.js b/frontend/src/pages/_index/EventsGrid/index.js index 1207a94dc..def9cad74 100644 --- a/frontend/src/pages/_index/EventsGrid/index.js +++ b/frontend/src/pages/_index/EventsGrid/index.js @@ -36,7 +36,7 @@ export default ({ events, loading = false, title }) => { dispatch(push('/events/' + event.slug)) } > - {t('Register_now_')} + {t('See_more_')} ), canApply && !event.galleryOpen && (