Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbainter committed Sep 3, 2023
1 parent a7f09c3 commit 4f7f44e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/library.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Library = () => {
return (
<>
<SoftAd href="https://alexbainter.gumroad.com/l/generative-music-systems">
"Building Generative Music Systems" course available now
&ldquo;Building Generative Music Systems&rdquo; course available now
</SoftAd>
<Category
title={'Recently played'}
Expand Down
6 changes: 6 additions & 0 deletions src/soft-ad/soft-ad.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import propTypes from 'prop-types';
import styles from './soft-ad.module.scss';

const SoftAd = ({ children, href }) => {
Expand All @@ -14,4 +15,9 @@ const SoftAd = ({ children, href }) => {
);
};

SoftAd.propTypes = {
children: propTypes.node.isRequired,
href: propTypes.string.isRequired,
};

export default SoftAd;

0 comments on commit 4f7f44e

Please sign in to comment.