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