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