We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 129dec0 commit 4b2a31bCopy full SHA for 4b2a31b
dash/dash-renderer/src/components/error/menu/VersionInfo.react.js
@@ -149,8 +149,10 @@ export const VersionInfo = ({config}) => {
149
150
useEffect(() => {
151
requestDashVersionInfo(config).then(body => {
152
- setNewDashVersionLink(body.link);
153
- setNewDashVersion(body.version);
+ if (body) {
+ setNewDashVersionLink(body.link);
154
+ setNewDashVersion(body.version);
155
+ }
156
});
157
}, []);
158
0 commit comments