Skip to content

Commit

Permalink
fix: images not loading in editor
Browse files Browse the repository at this point in the history
  • Loading branch information
sproott committed Feb 20, 2024
1 parent 016aca1 commit 24ad087
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -78,7 +78,7 @@ export default class Widget extends Component {
/**
* Avoid unnecessary rerenders while loading assets.
*/
if (this.props.isLoadingAsset) return false;
if (this.props.isLoadingAsset && nextProps.isLoadingAsset) return false;
/**
* Allow widgets to provide their own `shouldComponentUpdate` method.
*/

0 comments on commit 24ad087

Please sign in to comment.