this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Prefs need to be awaited

+2 -2
+2 -2
src/app.jsx
··· 325 325 326 326 const client = initClient({ instance: instanceURL, accessToken }); 327 327 await Promise.allSettled([ 328 + initPreferences(client), 328 329 initInstance(client, instanceURL), 329 330 initAccount(client, instanceURL, accessToken, vapidKey), 330 331 ]); 331 332 initStates(); 332 - initPreferences(client); 333 333 334 334 setIsLoggedIn(true); 335 335 setUIState('default'); ··· 343 343 const { instance } = client; 344 344 // console.log('masto', masto); 345 345 initStates(); 346 - initPreferences(client); 347 346 setUIState('loading'); 348 347 (async () => { 349 348 try { 349 + await initPreferences(client); 350 350 await initInstance(client, instance); 351 351 } catch (e) { 352 352 } finally {