diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-10-30 00:17:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-30 00:17:01 +0100 |
| commit | 91b38f216f3107d4be2fa26e78c3e6df674bcbca (patch) | |
| tree | 1f2239bb3758ac3099542fe7b06d559d58bdecd5 /frontend/src/components/navigation/LogoutButton.js | |
| parent | ea0dd07e8a5deb8084ebcbae780e57fdd90bccc2 (diff) | |
| parent | 4ec2ace2e1ca37294f6e55c2965f1fc6f98d622c (diff) | |
Merge pull request #56 from atlarge-research/bug/scenario
Fix workings of scenarios
Diffstat (limited to 'frontend/src/components/navigation/LogoutButton.js')
| -rw-r--r-- | frontend/src/components/navigation/LogoutButton.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/frontend/src/components/navigation/LogoutButton.js b/frontend/src/components/navigation/LogoutButton.js index e3de2ec7..78b02b44 100644 --- a/frontend/src/components/navigation/LogoutButton.js +++ b/frontend/src/components/navigation/LogoutButton.js @@ -2,11 +2,12 @@ import PropTypes from 'prop-types' import React from 'react' import FontAwesome from 'react-fontawesome' import { Link } from 'react-router-dom' +import { NavLink } from 'reactstrap' const LogoutButton = ({ onLogout }) => ( - <Link className="logout nav-link" title="Sign out" to="#" onClick={onLogout}> + <NavLink tag={Link} className="logout" title="Sign out" to="#" onClick={onLogout}> <FontAwesome name="power-off" size="lg" /> - </Link> + </NavLink> ) LogoutButton.propTypes = { |
