mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-11 23:26:30 +08:00
chore: add date
This commit is contained in:
@@ -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 © 2022 Toeverything</p>
|
||||
<p>Copyright © {year} Toeverything</p>
|
||||
</StyledModalFooter>
|
||||
</ModalWrapper>
|
||||
</Modal>
|
||||
|
||||
Reference in New Issue
Block a user