Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
#23 Comment als Link oder als Label hinzufügen.
Browse files Browse the repository at this point in the history
#23 Comment als Link oder als Label hinzufügen.
  • Loading branch information
CaroleHug authored Apr 25, 2023
2 parents eecc4cb + f648a8b commit 83d9b69
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"depcruise": "npx depcruise --config .dependency-cruiser.js src"
},
"dependencies": {
"@smartive-education/design-system-component-library-hello-world-team": "^1.20.22",
"@smartive-education/design-system-component-library-hello-world-team": "^1.20.25",
"@tanstack/react-query": "^4.28.0",
"@tanstack/react-table": "^8.8.0",
"@types/node": "18.11.9",
Expand Down
4 changes: 1 addition & 3 deletions src/components/mumble-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,14 @@ export const MumbleCard: FC<MumbleCard> = ({ mumble, showComments, commentSubmit
</div>
)}
<div className="flex relative -left-3 space-x-8">
{/*TODO This Comment should exist as label in the storybook*/}
<Link href={`/mumble/${state.mumble.id}`}>
{' '}
<CommentButton
label={{
noComments: 'Comment',
someComments: 'Comments',
}}
variant={'label'}
numberOfComments={state.mumble.replyCount ?? 0}
onClick={() => null}
/>
</Link>
<LikeButtonWithReactionButton
Expand Down

1 comment on commit 83d9b69

@vercel
Copy link

@vercel vercel bot commented on 83d9b69 Apr 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.