Skip to content

Commit

Permalink
Added missing Component Return Type
Browse files Browse the repository at this point in the history
  • Loading branch information
meziyum committed Mar 12, 2024
1 parent 3ec9040 commit 64160c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/pages/novel/Components/VolumeInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Renders volume informatNameion including ISBN, publication date, and narrator fo
@param {string} formatName - The formatName of the volume (e.g. "Hardcover", "Paperback", "Ebook", etc).
@return {JSX.Element} - The table row element displaying volume informatNameion.
*/
const VolumeInfo: React.FC<VolumeInfoProps> = ({isbn, publishedDate, translator, narrator, formatName}: VolumeInfoProps) => {
const VolumeInfo: React.FC<VolumeInfoProps> = ({isbn, publishedDate, translator, narrator, formatName}: VolumeInfoProps): JSX.Element => {
return (
<>
<tr>
Expand Down

0 comments on commit 64160c2

Please sign in to comment.