From 73ede6097d5fcd871522a87d02a0c5bc9db00464 Mon Sep 17 00:00:00 2001 From: Joffrey BION Date: Sun, 29 Apr 2018 21:10:55 +0200 Subject: Remove default exports everywhere --- frontend/src/components/modals/username.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'frontend/src/components/modals') 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 }) => ( @@ -17,5 +17,3 @@ const Modal = ({ modalOpen, toggleModal }) => ( ); - -export default Modal; -- cgit