Skip to content

Commit

Permalink
fix: ✏️ fix video author name
Browse files Browse the repository at this point in the history
  • Loading branch information
themashcodee committed Jul 5, 2024
1 parent 0d67c71 commit b94ded8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"repository": "https://github.com/themashcodee/slack-blocks-to-jsx.git",
"license": "MIT",
"version": "0.3.5",
"version": "0.3.6",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
Expand Down
6 changes: 1 addition & 5 deletions src/components/blocks/video.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ type VideoProps = {

export const Video = (props: VideoProps) => {
const {
// thumbnail_url,
// provider_icon_url,
// provider_name,
//
alt_text,
title,
video_url,
Expand All @@ -28,7 +24,7 @@ export const Video = (props: VideoProps) => {
<div className="py-2 slack_blocks_to_jsx__video" id={block_id}>
{author_name && (
<div className="slack_blocks_to_jsx__video_author">
<span className="font-bold">Manish Panwar</span>
<span className="font-bold">{author_name}</span>
</div>
)}

Expand Down

0 comments on commit b94ded8

Please sign in to comment.