Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 5 additions & 11 deletions src/components/Board/Navbar/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import isMobile from 'ismobilejs';
import { Scannable } from 'react-scannable';
import { IconButton } from '@material-ui/core';
import ScannerDeactivateIcon from '@material-ui/icons/ExploreOff';

import BoardShare from '../BoardShare';
import FullScreenButton from '../../UI/FullScreenButton';
import PrintBoardButton from '../../UI/PrintBoardButton';
Expand Down Expand Up @@ -134,17 +133,12 @@ export class Navbar extends React.Component {
this.state.deactivateScannerButton ? 'scanner__focused' : ''
}
>
<Scannable
onFocus={this.onScannableFocus('deactivateScannerButton')}
onBlur={this.onScannableBlur('deactivateScannerButton')}
<IconButton
className="Navbar__deactivateScanner"
onClick={onDeactivateScannerClick}
>
<IconButton
className="Navbar__deactivateScanner"
onClick={onDeactivateScannerClick}
>
<ScannerDeactivateIcon />
</IconButton>
</Scannable>
<ScannerDeactivateIcon />
</IconButton>
</div>
)}
{!isLocked && <HelpButton component={Link} to="/settings/help" />}
Expand Down
Loading