Skip to content

Commit

Permalink
🐛 Fixed logo and ticket button bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Arevalo committed Sep 24, 2023
1 parent 7530013 commit 47fba3c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/shared/Logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function Logo() {
gap={{ base: '.4rem', lg: '1rem' }}
>
<Image
src={'/images/Logo.svg'}
src={'/images/logo.svg'}
alt='MeetdApp logo'
width={['30px', '38px', '45px']}
/>
Expand Down
7 changes: 6 additions & 1 deletion src/pages/events/[id]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,13 +239,18 @@ function Event(): JSX.Element {
return
}

if (chain?.id !== CHAINID) {
setHasTicket(false)
}

if (address && meetdAppEventContract) {
meetdAppEventContract.eventAttendees(address).then((ticket: boolean) => {
setHasTicket(ticket)
setOwner(address)
})
}
}, [address])

}, [address, chain?.id])

return (
<>
Expand Down

0 comments on commit 47fba3c

Please sign in to comment.