Don't fetch soapbox.json if frontend_configurations is available
This commit is contained in:
committed by
marcin mikołajczak
parent
ed9dc9eee3
commit
e1de76ae01
@ -64,8 +64,6 @@ const fetchSoapboxConfig = (host: string | null) =>
|
||||
if (data.soapbox_fe) {
|
||||
dispatch(importSoapboxConfig(data.soapbox_fe, host));
|
||||
return data.soapbox_fe;
|
||||
} else {
|
||||
return dispatch(fetchSoapboxJson(host));
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user