diff --git a/src/core/client/stream/components/Permalink/PermalinkView.tsx b/src/core/client/stream/components/Permalink/PermalinkView.tsx index 2e693e56c..ae9f7f6ae 100644 --- a/src/core/client/stream/components/Permalink/PermalinkView.tsx +++ b/src/core/client/stream/components/Permalink/PermalinkView.tsx @@ -6,14 +6,16 @@ import { Button, Flex, Typography } from "talk-ui/components"; import CommentContainer from "../../containers/CommentContainer"; import * as styles from "./PermalinkView.css"; -export interface InnerProps { +export interface PermalinkViewProps { comment: {} | null; assetURL: string | null; + onShowAllComments: () => void; } -const PermalinkView: StatelessComponent = ({ +const PermalinkView: StatelessComponent = ({ assetURL, comment, + onShowAllComments, }) => { if (comment) { return ( @@ -23,9 +25,7 @@ const PermalinkView: StatelessComponent = ({