Skip to content

Commit

Permalink
feat: hide awards if empty
Browse files Browse the repository at this point in the history
  • Loading branch information
tc-imba committed Apr 1, 2024
1 parent def4f60 commit 89eb5da
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const AwardItem = (data) => {

const Awards = () => {
const siteMetadata = useSiteMetadata();
if (!siteMetadata.awards) return null;
return (
<div className={styles.homepageSection}>
<h2 style={{ marginBottom: '0rem' }}>Awards & Scholarships</h2>
Expand Down

0 comments on commit 89eb5da

Please sign in to comment.