summaryrefslogtreecommitdiff
path: root/frontend/src/components/modals
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/modals')
-rw-r--r--frontend/src/components/modals/username.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/frontend/src/components/modals/username.js b/frontend/src/components/modals/username.js
index 61b52114..826bce85 100644
--- a/frontend/src/components/modals/username.js
+++ b/frontend/src/components/modals/username.js
@@ -1,4 +1,4 @@
-import React from 'react'
+import React from "react";
import {
Overlay,
Panel,
@@ -8,15 +8,15 @@ import {
Input,
Close,
Space
-} from 'rebass'
+} from "rebass";
const Modal = ({ modalOpen, toggleModal }) => (
- <Overlay open={modalOpen} onDismiss={toggleModal('usernameModal')}>
+ <Overlay open={modalOpen} onDismiss={toggleModal("usernameModal")}>
<Panel theme="info">
<PanelHeader>
What's your username ?
<Space auto />
- <Close onClick={toggleModal('usernameModal')} />
+ <Close onClick={toggleModal("usernameModal")} />
</PanelHeader>
<Input
label="Username"
@@ -29,12 +29,12 @@ const Modal = ({ modalOpen, toggleModal }) => (
<Space auto />
<Button
theme="success"
- onClick={toggleModal('usernameModal')}
+ onClick={toggleModal("usernameModal")}
children="Ok"
/>
</PanelFooter>
</Panel>
</Overlay>
-)
+);
-export default Modal
+export default Modal;
bgstack15