summaryrefslogtreecommitdiff
path: root/frontend/src/components/navigation/LogoutButton.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/navigation/LogoutButton.js')
-rw-r--r--frontend/src/components/navigation/LogoutButton.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/frontend/src/components/navigation/LogoutButton.js b/frontend/src/components/navigation/LogoutButton.js
index 800a3da8..905e1ae9 100644
--- a/frontend/src/components/navigation/LogoutButton.js
+++ b/frontend/src/components/navigation/LogoutButton.js
@@ -1,16 +1,16 @@
-import PropTypes from "prop-types";
-import React from "react";
-import FontAwesome from "react-fontawesome";
-import { Link } from "react-router-dom";
+import PropTypes from 'prop-types'
+import React from 'react'
+import FontAwesome from 'react-fontawesome'
+import { Link } from 'react-router-dom'
const LogoutButton = ({ onLogout }) => (
- <Link className="logout nav-link" title="Sign out" to="#" onClick={onLogout}>
- <FontAwesome name="power-off" size="lg" />
- </Link>
-);
+ <Link className="logout nav-link" title="Sign out" to="#" onClick={onLogout}>
+ <FontAwesome name="power-off" size="lg"/>
+ </Link>
+)
LogoutButton.propTypes = {
- onLogout: PropTypes.func.isRequired
-};
+ onLogout: PropTypes.func.isRequired,
+}
-export default LogoutButton;
+export default LogoutButton