Skip to content

Commit

Permalink
Update Error.tsx URLs (#973)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamadmansourX authored May 26, 2021
1 parent 68a7b8c commit 65e4326
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/packages/core/src/components/Error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ const Wrapper = styled.div`
const reload = () => window.location.reload();

const ReadmeMap: Record<string, string> = {
zh: 'https://github.com/PaddlePaddle/VisualDL/blob/develop/README.md',
en: 'https://github.com/PaddlePaddle/VisualDL/blob/develop/README-en.md'
zh: 'https://github.com/PaddlePaddle/VisualDL/blob/develop/README_CN.md',
en: 'https://github.com/PaddlePaddle/VisualDL/blob/develop/README.md'
};

const UserGuideMap: Record<string, string> = {
zh: 'https://github.com/PaddlePaddle/VisualDL/blob/develop/docs/components/README.md',
en: 'https://github.com/PaddlePaddle/VisualDL/blob/develop/docs/components/UserGuide-en.md'
zh: 'https://github.com/PaddlePaddle/VisualDL/blob/develop/docs/components/README_CN.md',
en: 'https://github.com/PaddlePaddle/VisualDL/blob/develop/docs/components/README.md'
};

const I18nLink: FunctionComponent<{map: Record<string, string>}> = ({map, children}) => {
Expand Down

0 comments on commit 65e4326

Please sign in to comment.