mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-14 09:39:15 +00:00
if (showFab)
This commit is contained in:
@@ -94,7 +94,7 @@ export default class App extends Component<Props, State> {
|
|||||||
render({ url }: Props, { showDrawer, showFab, files }: State) {
|
render({ url }: Props, { showDrawer, showFab, files }: State) {
|
||||||
if (showDrawer) this.enableDrawer = true;
|
if (showDrawer) this.enableDrawer = true;
|
||||||
|
|
||||||
if (showFab === true) showFab = files.length > 0;
|
if (showFab) showFab = files.length > 0;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div id="app" class={style.app}>
|
<div id="app" class={style.app}>
|
||||||
|
|||||||
Reference in New Issue
Block a user