From 966304ac3a5a93f02f974389f17af573385aac4b Mon Sep 17 00:00:00 2001 From: cami Date: Wed, 21 Jul 2021 02:21:40 +0200 Subject: [PATCH] Refactored herosection so it is more consistent with other fiels --- frontend/src/components/HeroSection.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/components/HeroSection.js b/frontend/src/components/HeroSection.js index 1767dc4..93211d3 100644 --- a/frontend/src/components/HeroSection.js +++ b/frontend/src/components/HeroSection.js @@ -5,7 +5,7 @@ import "./HeroSection.css"; import "@fortawesome/fontawesome-free/css/all.css"; import { useAuth } from "../auth/AuthProvider"; -function HeroSection() { +export default function HeroSection() { const [isLoggedIn] = useAuth(); return ( @@ -53,5 +53,3 @@ function HeroSection() { ); } - -export default HeroSection;