fix(StandaloneRouting): Promise rejection - added return (#791)
This commit is contained in:
parent
2cf355856b
commit
d09fb4e71c
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user