Don't fetch soapbox.json if frontend_configurations is available
This commit is contained in:
parent
2224bb2ac9
commit
ca8df23cd0
|
@ -65,8 +65,6 @@ const fetchSoapboxConfig = (host: string | null) =>
|
||||||
if (data.soapbox_fe) {
|
if (data.soapbox_fe) {
|
||||||
dispatch(importSoapboxConfig(data.soapbox_fe, host));
|
dispatch(importSoapboxConfig(data.soapbox_fe, host));
|
||||||
return data.soapbox_fe;
|
return data.soapbox_fe;
|
||||||
} else {
|
|
||||||
return dispatch(fetchSoapboxJson(host));
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue