Skip to content

Commit

Permalink
Update VisualizationWidget.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
dobri1408 authored Aug 21, 2024
1 parent f0d3bdf commit e5ee11c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Widgets/VisualizationWidget.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const VisualizationWidget = (props) => {
}, [vizState, value]);

React.useEffect(() => {
if (value.url && value.preview_url_loaded !== value.url) {
if (value && value.url && value.preview_url_loaded !== value.url) {
fetch(
`${getBaseUrl(
'',
Expand Down

0 comments on commit e5ee11c

Please sign in to comment.