Closed cheesea3 closed 1 month ago
AuthorizeForm.tsx
showFallback
CheckoutProcess.tsx
useEffect
steam-auth-success
AuthForms.tsx
useRevalidator
@remix-run/react
shouldOpenModal
flashSuccess
true
authorize.steam.tsx
generateSteamLoginURL
main
steamLoginURLFallBack
fallback
url
store.create.tsx
Hotfixes
AuthorizeForm.tsx
showFallback
conditional block to display a different message and link depending on theshowFallback
state.showFallback
, now displaying two different messages and links.CheckoutProcess.tsx
useEffect
hook to listen for asteam-auth-success
message event and call the callback function when received.AuthForms.tsx
useRevalidator
hook from@remix-run/react
.shouldOpenModal
state from a derived value based onflashSuccess
to a state variable initialized withtrue
.useEffect
hook to dispatch asteam-auth-success
event whenflashSuccess
is present and setshouldOpenModal
totrue
.authorize.steam.tsx
generateSteamLoginURL
function with an additionalmain
parameter.steamLoginURLFallBack
variable with thefallback
parameter.url
andfallback
properties.store.create.tsx