summaryrefslogtreecommitdiff
path: root/frontend/src/components/errors
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2018-04-29 21:10:55 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2018-04-29 21:51:10 +0200
commit73ede6097d5fcd871522a87d02a0c5bc9db00464 (patch)
tree67cf69bcdd3556f73aaa419ac9a367a6fcb0b000 /frontend/src/components/errors
parentCleanup index.js files (diff)
downloadseven-wonders-73ede6097d5fcd871522a87d02a0c5bc9db00464.tar.gz
seven-wonders-73ede6097d5fcd871522a87d02a0c5bc9db00464.tar.bz2
seven-wonders-73ede6097d5fcd871522a87d02a0c5bc9db00464.zip
Remove default exports everywhere
Diffstat (limited to 'frontend/src/components/errors')
-rw-r--r--frontend/src/components/errors/Error404.js3
-rw-r--r--frontend/src/components/errors/errorToastContainer.js4
2 files changed, 2 insertions, 5 deletions
diff --git a/frontend/src/components/errors/Error404.js b/frontend/src/components/errors/Error404.js
index 9a5e005e..07046632 100644
--- a/frontend/src/components/errors/Error404.js
+++ b/frontend/src/components/errors/Error404.js
@@ -1,7 +1,7 @@
import React from 'react';
import { Link } from 'react-router-dom';
-const Error404 = () => (
+export const Error404 = () => (
<div>
<h1>No Match</h1>
<Link to="/">
@@ -9,4 +9,3 @@ const Error404 = () => (
</Link>
</div>
);
-export default Error404;
diff --git a/frontend/src/components/errors/errorToastContainer.js b/frontend/src/components/errors/errorToastContainer.js
index 65711073..d8da6af6 100644
--- a/frontend/src/components/errors/errorToastContainer.js
+++ b/frontend/src/components/errors/errorToastContainer.js
@@ -2,8 +2,6 @@ import React from 'react';
import ReduxToastr from 'react-redux-toastr';
import './react-redux-toastr.min.css';
-const ErrorToastContainer = props => (
+export const ErrorToastContainer = props => (
<ReduxToastr timeOut={4000} preventDuplicates position="bottom-left" progressBar />
);
-
-export default ErrorToastContainer;
bgstack15