Skip to content

Commit

Permalink
remove depricated avatars (#1216)
Browse files Browse the repository at this point in the history
* remove depricated avatars

* remove console
  • Loading branch information
sepehr2github authored Feb 1, 2024
1 parent 83c5cf6 commit 208ce6d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/daoCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export const DaoCard = (props: IDaoCardProps) => {

const {t} = useTranslation();
const {isDesktop} = useScreen();

const {avatar} = useResolveDaoAvatar(logo);

const daoPage = generatePath(Dashboard, {
Expand All @@ -41,7 +40,7 @@ export const DaoCard = (props: IDaoCardProps) => {
<Container href={daoUrl}>
<DaoDataWrapper>
<HeaderContainer>
<AvatarDao daoName={name} src={avatar} />
<AvatarDao daoName={name} src={logo && avatar} />
<div className="space-y-0.5 text-left xl:space-y-1">
<Title>{name}</Title>
<p className="font-semibold text-neutral-500 ft-text-sm">
Expand Down

0 comments on commit 208ce6d

Please sign in to comment.