summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/Footer.tsx2
-rw-r--r--src/pages/HomePage.tsx2
-rw-r--r--src/pages/chart/ChartPage.tsx2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx
index a68d0d3..e99ef37 100644
--- a/src/components/Footer.tsx
+++ b/src/components/Footer.tsx
@@ -5,7 +5,7 @@ interface FooterProps {
currentPage?: 'home' | 'chart';
}
-const Footer: React.FC<FooterProps> = ({ currentPage = 'home' }) => {
+const Footer: React.FC<FooterProps> = () => {
return (
<footer className="footer">
<div className="footer-unified">
diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx
index ab977aa..c5fa257 100644
--- a/src/pages/HomePage.tsx
+++ b/src/pages/HomePage.tsx
@@ -369,7 +369,7 @@ const HomePage = () => {
)
}
- <Footer currentPage="home" />
+ <Footer />
</div >
);
};
diff --git a/src/pages/chart/ChartPage.tsx b/src/pages/chart/ChartPage.tsx
index 7f1569d..c0526c0 100644
--- a/src/pages/chart/ChartPage.tsx
+++ b/src/pages/chart/ChartPage.tsx
@@ -152,7 +152,7 @@ const ChartPage = () => {
<Link to="/">Back to Game</Link>
</div>
- <Footer currentPage="chart" />
+ <Footer />
</div>
);
};