Merge pull request #712 from toeverything/chore/update-Copyright-year

chore: update copyright year
This commit is contained in:
DarkSky
2023-01-11 18:09:28 +08:00
committed by GitHub
4 changed files with 12 additions and 8 deletions

View File

@@ -76,6 +76,8 @@ export const ContactModal = ({
link: 'https://community.affine.pro',
},
];
const date = new Date();
const year = date.getFullYear();
return (
<Modal open={open} onClose={onClose} data-testid="contact-us-modal-content">
<ModalWrapper
@@ -135,7 +137,7 @@ export const ContactModal = ({
{t('How is AFFiNE Alpha different?')}
</a>
</p>
<p>Copyright &copy; 2022 Toeverything</p>
<p>Copyright &copy; {year} Toeverything</p>
</StyledModalFooter>
</ModalWrapper>
</Modal>

View File

@@ -11,7 +11,6 @@ import { getWarningMessage, shouldShowWarning } from './utils';
import EditorOptionMenu from './header-right-items/EditorOptionMenu';
import TrashButtonGroup from './header-right-items/TrashButtonGroup';
import ThemeModeSwitch from './header-right-items/theme-mode-switch';
import SyncUser from './header-right-items/SyncUser';
const BrowserWarning = ({
show,