summaryrefslogtreecommitdiff
path: root/frontend/src/components/modals
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/modals
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/modals')
-rw-r--r--frontend/src/components/modals/username.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/frontend/src/components/modals/username.js b/frontend/src/components/modals/username.js
index 19b7eeb0..f6127667 100644
--- a/frontend/src/components/modals/username.js
+++ b/frontend/src/components/modals/username.js
@@ -1,7 +1,7 @@
import React from 'react';
import { Button, Close, Input, Overlay, Panel, PanelFooter, PanelHeader, Space } from 'rebass';
-const Modal = ({ modalOpen, toggleModal }) => (
+export const Modal = ({ modalOpen, toggleModal }) => (
<Overlay open={modalOpen} onDismiss={toggleModal('usernameModal')}>
<Panel theme="info">
<PanelHeader>
@@ -17,5 +17,3 @@ const Modal = ({ modalOpen, toggleModal }) => (
</Panel>
</Overlay>
);
-
-export default Modal;
bgstack15