There was an error while loading. Please reload this page.
1 parent 8326430 commit 012a987Copy full SHA for 012a987
1 file changed
packages/mobile/src/machines/authMachine.ts
@@ -223,6 +223,15 @@ export const authMachine = setup({
223
}
224
225
226
+ },
227
+ on: {
228
+ INITIALIZE: {
229
+ target: 'initializing',
230
+ actions: assign({
231
+ appId: ({ event }) => event.appId,
232
+ error: null
233
+ })
234
+ }
235
236
},
237
authenticated: {
@@ -272,6 +281,13 @@ export const authMachine = setup({
272
281
273
282
274
283
on: {
284
285
286
287
288
289
290
275
291
LOGOUT: 'loggingOut'
276
292
277
293
0 commit comments