feat: persist registration state in memory
serenity 1 month ago cd53b830 8ae59a2c
··· 0 0 0 0 0 0 0 0 0
··· 1 + export const registrationState = { 2 + registered: false, 3 + }; 4 + export const setRegistrationState = (newState: boolean) => { 5 + registrationState.registered = newState; 6 + }; 7 + export const getRegistrationState = () => { 8 + return registrationState; 9 + };