kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Add missing `await`
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>environments/review-instance-v-jevtvk/deployments/4242
rodzic
7c752f088c
commit
d462e6df8f
|
@ -82,7 +82,9 @@ export const loadInstance = createAsyncThunk<void, void, { state: RootState }>(
|
||||||
|
|
||||||
if (rememberedInstance.payload && supportsInstanceV2((rememberedInstance.payload as any).instance)) {
|
if (rememberedInstance.payload && supportsInstanceV2((rememberedInstance.payload as any).instance)) {
|
||||||
await dispatch(fetchInstanceV2(host));
|
await dispatch(fetchInstanceV2(host));
|
||||||
} else dispatch(fetchInstance(host));
|
} else {
|
||||||
|
await dispatch(fetchInstance(host));
|
||||||
|
}
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue