From 598feae89f7a18a3b74e248d9afd501b32af4b11 Mon Sep 17 00:00:00 2001 From: Aaron Boodman Date: Tue, 22 Nov 2016 14:43:54 -0800 Subject: [PATCH] Australify (#2847) --- samples/js/photos/src/photo-grid-item.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/js/photos/src/photo-grid-item.js b/samples/js/photos/src/photo-grid-item.js index 4b5924a0bd..d6eff41c6c 100644 --- a/samples/js/photos/src/photo-grid-item.js +++ b/samples/js/photos/src/photo-grid-item.js @@ -48,7 +48,7 @@ export default class PhotoGridItem extends React.Component { _parentTop: number; _parentLeft: number; _shouldTransition: boolean; - _unmounted: boolean; + _didUnmount: boolean; constructor(props: Props) { super(props); @@ -58,7 +58,7 @@ export default class PhotoGridItem extends React.Component { }; this._parentTop = 0; this._parentLeft = 0; - this._unmounted = false; + this._didUnmount = false; this._load(this.state.blob); } @@ -108,7 +108,7 @@ export default class PhotoGridItem extends React.Component { } // might have unloaded - if (this._unmounted) { + if (this._didUnmount) { return; } @@ -121,7 +121,7 @@ export default class PhotoGridItem extends React.Component { componentWillUnmount() { this._releaseBlobURL(); - this._unmounted = true; + this._didUnmount = true; } _releaseBlobURL() {