Skip to content

Commit

Permalink
fix: useless sub component removed
Browse files Browse the repository at this point in the history
  • Loading branch information
RezaRahemtola committed Mar 9, 2023
1 parent eea6cbd commit 9c884f2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/profile/ProfileBadge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type ProfileBadgeProps = {
const ProfileBadge = ({ username, address }: ProfileBadgeProps): JSX.Element => {
const isDrawerNeeded: boolean = useBreakpointValue({ base: true, lg: false }) || false;

const ProfileBadgeCard = (): JSX.Element => (
return (
<HStack
bg="blue.50"
borderRadius="12px"
Expand Down Expand Up @@ -63,8 +63,6 @@ const ProfileBadge = ({ username, address }: ProfileBadgeProps): JSX.Element =>
</VStack>
</HStack>
);

return <ProfileBadgeCard />;
};

export default ProfileBadge;

0 comments on commit 9c884f2

Please sign in to comment.