fix(StandaloneRouting): Promise rejection - added return (#791)
This commit is contained in:
1 parent
2cf355856b
commit
d09fb4e71c
1 file changed
+1
-1
@@ -26,7 +26,7 @@ class StandaloneRouting extends Component {
|
||||
const url = query.url;
|
||||
|
||||
if (!url) {
|
||||
reject(new Error("No URL was specified. Use ?url=$yourURL"));
|
||||
return reject(new Error("No URL was specified. Use ?url=$yourURL"));
|
||||
}
|
||||
|
||||
// Define a request to the server to retrieve the study data
|
||||
|
||||
Reference in new issue
Block a user