Skip to content

Commit

Permalink
fix: prettier fix and lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ayussh-2 committed Jul 13, 2024
1 parent 5d663b2 commit 435117f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/components/events/EventCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export default function EventCard({
toast.info('Please complete your profile to register for the event')
return
}

if (!userSrcId) {
toast.info('Please complete your payment to register for the event')
return
Expand Down
1 change: 1 addition & 0 deletions src/components/events/Events.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export default function Events() {
try {
const { data } = await getUserInDB({ uid: userInfo.uid, orgId })
setMongoId(data.getUser.id)
setUserSrcId(data.getUser.srcID)
} catch (error) {
console.error('Error fetching user data:', error)
}
Expand Down
3 changes: 2 additions & 1 deletion src/components/marginals/Nav_Hero/ProfileMenu.styles.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ export const LoaderContainer = styled.div`
flex
items-center
justify-center
mb-5`}`
mb-5`}
`

export const CopyButton = styled.button`
${tw`
Expand Down

0 comments on commit 435117f

Please sign in to comment.