Skip to content

Commit

Permalink
fix: fixed alignment and removed wrong avatar on holders count (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
NMCarv authored Oct 12, 2022
1 parent ac8b813 commit ba0429a
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions apps/website/components/templates/gate-view/gate-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -386,15 +386,8 @@ export function GateViewTemplate({ gateProps }: GateViewProps) {
Holders
</Typography>
</Grid>
<Grid item xs={8}>
<AvatarGroup
total={gateProps?.holder_count}
spacing={'medium'}
max={4}
sx={{
justifyContent: 'flex-end',
}}
>
<Grid item xs={8} display="flex" alignItems="center">
<AvatarGroup>
{gateProps?.holders.map((holder, index) => {
if (index == 3) return null;
return (
Expand Down

1 comment on commit ba0429a

@vercel
Copy link

@vercel vercel bot commented on ba0429a Oct 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.