keep year updated at sidebar footer copyright

pull/546/head
Tim Pechersky 2022-01-31 00:46:21 +00:00
rodzic f453f29fa6
commit cb87baea9b
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -29,6 +29,7 @@ import { WHITE_LOGO_W_TEXT_URL, ALL_NAV_PATHES } from "../core/constants";
import useDashboard from "../core/hooks/useDashboard";
import { MODAL_TYPES } from "../core/providers/OverlayProvider/constants";
import OverlayContext from "../core/providers/OverlayProvider/context";
import moment from "moment";
const Sidebar = () => {
const ui = useContext(UIContext);
@ -190,7 +191,7 @@ const Sidebar = () => {
textColor="gray.700"
textAlign="center"
>
© 2021 Moonstream.to
© {moment().year()} Moonstream.to
</Text>
</Menu>
)}