diff --git a/src/components/header/header.js b/src/components/header/header.js index ceb2397d..35795386 100644 --- a/src/components/header/header.js +++ b/src/components/header/header.js @@ -269,6 +269,6 @@ export default function Header({ } function getYear(year, month) { - return typeof formatMonth === "function" ? formatYear(year, month) : year; + return typeof formatYear === "function" ? formatYear(year, month) : year; } }