未验证 提交 3729ce43 编写于 作者: K kevinadhiguna 提交者: GitHub

[Footer] add current year dynamically (#8850)

* docs: fix English README link

* docs(lang): add countries' flags

* docs(lang): add countries' flags

* feat(footer): add current year dynamically
上级 922b92b8
......@@ -9,9 +9,11 @@ export default () => {
defaultMessage: '蚂蚁集团体验技术部出品',
});
const currentYear = new Date().getFullYear();
return (
<DefaultFooter
copyright={`2020 ${defaultMessage}`}
copyright={`${currentYear} ${defaultMessage}`}
links={[
{
key: 'Ant Design Pro',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册