Skip to content

Commit

Permalink
Migrate to Lens v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoginth committed Dec 7, 2024
1 parent 955f054 commit 783bdeb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/web/src/components/Post/PostBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import getPostData from "@hey/helpers/getPostData";
import getURLs from "@hey/helpers/getURLs";
import isPostMetadataTypeAllowed from "@hey/helpers/isPostMetadataTypeAllowed";
import { isRepost } from "@hey/helpers/postHelpers";
import type { AnyPost } from "@hey/indexer";
import type { AnyPost, Post } from "@hey/indexer";
import { H6 } from "@hey/ui";
import cn from "@hey/ui/cn";
import { getSrc } from "@livepeer/react/external";
Expand Down Expand Up @@ -145,7 +145,7 @@ const PostBody: FC<PostBodyProps> = ({
{showSharingLink ? (
<Oembed post={targetPost} url={metadata.sharingLink} />
) : null}
{showQuote ? <Quote post={targetPost.quoteOf} /> : null}
{showQuote ? <Quote post={targetPost.quoteOf as Post} /> : null}
<Metadata metadata={targetPost.metadata} />
</div>
);
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/components/Shared/Embed/Quote.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import QuotedPost from "@components/Post/QuotedPost";
import type { NestedPost } from "@hey/indexer";
import type { Post } from "@hey/indexer";
import type { FC } from "react";
import Wrapper from "./Wrapper";

interface QuoteProps {
post: NestedPost;
post: Post;
}

const Quote: FC<QuoteProps> = ({ post }) => {
Expand Down

0 comments on commit 783bdeb

Please sign in to comment.