Skip to content

Commit

Permalink
Fix Comment component props
Browse files Browse the repository at this point in the history
  • Loading branch information
n1klaus committed Jul 15, 2023
1 parent 0ba1268 commit 0c5b735
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion frontend/src/components/Comment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,13 @@ const Text = styled.span`
`;

const SERVER_ENDPOINT = import.meta.env.VITE_BACKEND_ENDPOINT;
function Comment({ videoId, comment }: { videoId: string | undefined; comment: IComment }) {
function Comment({
videoId,
comment,
}: {
videoId: string | undefined;
comment: IComment;
}) {
const store = useStore();
const user = store.authUser;

Expand Down

0 comments on commit 0c5b735

Please sign in to comment.