Load the instance before verify_credentials
This commit is contained in:
parent
9d0345eae2
commit
9b92f30483
|
@ -17,11 +17,8 @@ import MESSAGES from 'soapbox/messages';
|
|||
const loadInitial = () => {
|
||||
// @ts-ignore
|
||||
return async(dispatch, getState) => {
|
||||
// Await for authenticated fetch
|
||||
await dispatch(fetchMe());
|
||||
// Await for feature detection
|
||||
await dispatch(fetchInstance());
|
||||
// Await for configuration
|
||||
await dispatch(fetchMe());
|
||||
await dispatch(loadSoapboxConfig());
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue