Skip to content

Commit

Permalink
fix: images not loading in editor (#7111)
Browse files Browse the repository at this point in the history
  • Loading branch information
sproott authored Mar 6, 2024
1 parent 67bf737 commit 0c68d20
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 0c68d20

Please sign in to comment.