Merge pull request #546 from bugout-dev/fix-sidebar-footer

keep year updated at sidebar footer copyright
pull/547/head
Tim Pechersky 2022-01-31 00:51:08 +00:00 zatwierdzone przez GitHub
commit 7edd4ebf5e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
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>
)}