Skip to content

Commit

Permalink
feat(notification): suggest go back instead of refresh when error
Browse files Browse the repository at this point in the history
  • Loading branch information
JalilArfaoui committed Sep 27, 2019
1 parent 2d8ebdc commit 69db44f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/content/App/Error/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import { history } from '../../store';
import Container from './Container';
import ContentTitle from './ContentTitle';
import Content from './Content';
Expand All @@ -10,9 +11,8 @@ export default () => (
<Illustration />
<ContentTitle>Oops !</ContentTitle>
<Content>
Quelque chose s’est mal passé. Veuillez actualiser le plugin ou réessayer
plus tard.
Quelque chose s’est mal passé. Veuillez réessayer plus tard.
</Content>
<BackgroundButton>Actualiser</BackgroundButton>
<BackgroundButton onClick={history.goBack}>Retour</BackgroundButton>
</Container>
);

0 comments on commit 69db44f

Please sign in to comment.