Skip to content

Commit

Permalink
Fix broken lints in example app
Browse files Browse the repository at this point in the history
  • Loading branch information
pawellula committed Jan 6, 2023
1 parent c325e71 commit 8fd1dad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions examples/web-wagmi/src/profiles/components/ProfileCard.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { ProfileFieldsFragment } from '@lens-protocol/react';
import { Link } from 'react-router-dom';

import { ProfilePicture } from './ProfilePicture';

Expand All @@ -10,9 +9,7 @@ type ProfileCardProps = {
export function ProfileCard({ profile }: ProfileCardProps) {
return (
<article>
<Link to={`/profile/handle/${profile.handle}`}>
<ProfilePicture picture={profile.picture} />
</Link>
<ProfilePicture picture={profile.picture} />
<p>Handle: {profile?.handle}</p>
<p>Name: {profile?.name}</p>
<p>Bio: {profile?.bio}</p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { CommentFragment, MirrorFragment, PostFragment } from '@lens-protocol/react';
import { Link } from 'react-router-dom';

import { ProfilePicture } from '../../profiles/components/ProfilePicture';

Expand All @@ -10,9 +9,7 @@ type PublicationProps = {
export function PublicationCard({ publication }: PublicationProps) {
return (
<article>
<Link to={`/profile/handle/${publication.profile.handle}`}>
<ProfilePicture picture={publication.profile.picture} />
</Link>
<ProfilePicture picture={publication.profile.picture} />
<p>{publication.profile.name ?? `@${publication.profile.handle}`}</p>
<p>{publication.metadata.content}</p>
</article>
Expand Down

0 comments on commit 8fd1dad

Please sign in to comment.