From 8fd1dad6237d433dbfa1ce46e5de1fa8e9e25d47 Mon Sep 17 00:00:00 2001 From: pawellula Date: Fri, 6 Jan 2023 11:01:57 +0100 Subject: [PATCH] Fix broken lints in example app --- examples/web-wagmi/src/profiles/components/ProfileCard.tsx | 5 +---- .../src/publications/components/PublicationCard.tsx | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/examples/web-wagmi/src/profiles/components/ProfileCard.tsx b/examples/web-wagmi/src/profiles/components/ProfileCard.tsx index 00b7f1511e..37f998913f 100644 --- a/examples/web-wagmi/src/profiles/components/ProfileCard.tsx +++ b/examples/web-wagmi/src/profiles/components/ProfileCard.tsx @@ -1,5 +1,4 @@ import { ProfileFieldsFragment } from '@lens-protocol/react'; -import { Link } from 'react-router-dom'; import { ProfilePicture } from './ProfilePicture'; @@ -10,9 +9,7 @@ type ProfileCardProps = { export function ProfileCard({ profile }: ProfileCardProps) { return (
- - - +

Handle: {profile?.handle}

Name: {profile?.name}

Bio: {profile?.bio}

diff --git a/examples/web-wagmi/src/publications/components/PublicationCard.tsx b/examples/web-wagmi/src/publications/components/PublicationCard.tsx index 79c90e0253..d20b339199 100644 --- a/examples/web-wagmi/src/publications/components/PublicationCard.tsx +++ b/examples/web-wagmi/src/publications/components/PublicationCard.tsx @@ -1,5 +1,4 @@ import { CommentFragment, MirrorFragment, PostFragment } from '@lens-protocol/react'; -import { Link } from 'react-router-dom'; import { ProfilePicture } from '../../profiles/components/ProfilePicture'; @@ -10,9 +9,7 @@ type PublicationProps = { export function PublicationCard({ publication }: PublicationProps) { return (
- - - +

{publication.profile.name ?? `@${publication.profile.handle}`}

{publication.metadata.content}