Skip to content

Commit 77361a4

Browse files
committed
Lint fixes
1 parent a3b06c8 commit 77361a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/block-library/src/image/edit.native.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export class ImageEdit extends React.Component {
8989
this.onImagePressed = this.onImagePressed.bind( this );
9090
this.onClearSettings = this.onClearSettings.bind( this );
9191
this.onFocusCaption = this.onFocusCaption.bind( this );
92-
this.updateAlignment = this.updateAlignment.bind(this)
92+
this.updateAlignment = this.updateAlignment.bind( this );
9393
}
9494

9595
componentDidMount() {
@@ -185,7 +185,7 @@ export class ImageEdit extends React.Component {
185185
}
186186

187187
updateAlignment( nextAlign ) {
188-
this.props.setAttributes( { align: nextAlign } )
188+
this.props.setAttributes( { align: nextAlign } );
189189
}
190190

191191
onSetLinkDestination( href ) {
@@ -365,7 +365,7 @@ export class ImageEdit extends React.Component {
365365
);
366366

367367
return (
368-
<View style={ { flex: 1, alignSelf: alignToFlex[align] } } >
368+
<View style={ { flex: 1, alignSelf: alignToFlex[ align ] } } >
369369
{ ! imageWidthWithinContainer &&
370370
<View style={ [ styles.imageContainer, { height: imageContainerHeight } ] } >
371371
{ this.getIcon( false ) }

0 commit comments

Comments
 (0)