Don't fetch soapbox.json if frontend_configurations is available

This commit is contained in:
Alex Gleason
2024-05-25 11:23:09 -05:00
committed by marcin mikołajczak
parent ed9dc9eee3
commit e1de76ae01

View File

@ -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 {