Merge branch 'cli-invoc' of github.com:GoogleChromeLabs/squoosh into cli-invoc-2

This commit is contained in:
Jason Miller
2020-12-09 11:28:24 -05:00
3 changed files with 76 additions and 2 deletions

View File

@@ -820,7 +820,7 @@ export default class Compress extends Component<Props, State> {
}
render(
{ onBack }: Props,
{ onBack, showSnack }: Props,
{
loading,
sides,
@@ -839,6 +839,7 @@ export default class Compress extends Component<Props, State> {
const options = sides.map((side, index) => (
<Options
index={index as 0 | 1}
showSnack={showSnack}
source={source}
mobileView={mobileView}
processorState={side.latestSettings.processorState}