if (showFab)

This commit is contained in:
Jason Miller
2018-03-29 15:49:27 -04:00
parent df8d5cfc6e
commit 17e9668dd0

View File

@@ -94,7 +94,7 @@ export default class App extends Component<Props, State> {
render({ url }: Props, { showDrawer, showFab, files }: State) {
if (showDrawer) this.enableDrawer = true;
if (showFab === true) showFab = files.length > 0;
if (showFab) showFab = files.length > 0;
return (
<div id="app" class={style.app}>