Skip to content

Commit

Permalink
Merge pull request #464 from hackjunction/dev
Browse files Browse the repository at this point in the history
Auth0 tenant documentation & bug fixes #460 #409
  • Loading branch information
Jussii authored Jun 22, 2021
2 parents 7fe400a + b6b1717 commit bef4fc0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion frontend/src/pages/_events/slug/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<EventDetailContext.Provider
value={{
Expand Down
2 changes: 0 additions & 2 deletions frontend/src/pages/_events/slug/default/EventButtons/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import React from 'react'
import { useDispatch, useSelector } from 'react-redux'
import { push } from 'connected-react-router'
import { useRouteMatch } from 'react-router'
import moment from 'moment-timezone'
import { EventStatuses } from '@hackjunction/shared'
import { Typography, Grid } from '@material-ui/core'

Expand All @@ -16,7 +15,6 @@ export default ({ event, registration }) => {
const dispatch = useDispatch()
const match = useRouteMatch()
const isAuthenticated = useSelector(AuthSelectors.isAuthenticated)
console.log('regi', registration)
const hasRegistration = registration
? registration.status != 'incomplete'
: false
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/_index/EventsGrid/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default ({ events, loading = false, title }) => {
dispatch(push('/events/' + event.slug))
}
>
{t('Register_now_')}
{t('See_more_')}
</Button>
),
canApply && !event.galleryOpen && (
Expand Down

0 comments on commit bef4fc0

Please sign in to comment.