use default exports

This commit is contained in:
Tom Heaton
2024-06-06 00:38:13 +01:00
parent 96c7e41c9d
commit 77da5694bb
12 changed files with 21 additions and 43 deletions

View File

@@ -13,7 +13,7 @@ import {
WebsiteRights,
} from "./FooterElements";
const Footer = () => {
export default function Footer() {
const toggleHome = () => {
scroll.scrollToTop();
};
@@ -70,6 +70,4 @@ const Footer = () => {
</FooterContainer>
</>
);
};
export default Footer;
}