未验证 提交 65e4326f 编写于 作者: M mohamadmansourX 提交者: GitHub

Update Error.tsx URLs (#973)

上级 68a7b8c5
...@@ -67,13 +67,13 @@ const Wrapper = styled.div` ...@@ -67,13 +67,13 @@ const Wrapper = styled.div`
const reload = () => window.location.reload(); const reload = () => window.location.reload();
const ReadmeMap: Record<string, string> = { const ReadmeMap: Record<string, string> = {
zh: 'https://github.com/PaddlePaddle/VisualDL/blob/develop/README.md', zh: 'https://github.com/PaddlePaddle/VisualDL/blob/develop/README_CN.md',
en: 'https://github.com/PaddlePaddle/VisualDL/blob/develop/README-en.md' en: 'https://github.com/PaddlePaddle/VisualDL/blob/develop/README.md'
}; };
const UserGuideMap: Record<string, string> = { const UserGuideMap: Record<string, string> = {
zh: 'https://github.com/PaddlePaddle/VisualDL/blob/develop/docs/components/README.md', zh: 'https://github.com/PaddlePaddle/VisualDL/blob/develop/docs/components/README_CN.md',
en: 'https://github.com/PaddlePaddle/VisualDL/blob/develop/docs/components/UserGuide-en.md' en: 'https://github.com/PaddlePaddle/VisualDL/blob/develop/docs/components/README.md'
}; };
const I18nLink: FunctionComponent<{map: Record<string, string>}> = ({map, children}) => { const I18nLink: FunctionComponent<{map: Record<string, string>}> = ({map, children}) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册