automatically clear local storage when registration succeeds (#71)

This commit is contained in:
Michael Quigley 2022-09-26 16:00:17 -04:00
parent f3e5919ca8
commit 9e14a8b0ba
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -70,6 +70,9 @@ const NoAccountRequest = () => {
}
const Success = (props) => {
// clear local storage on new account registration success.
localStorage.clear();
return (
<div className={"fullscreen"}>
<img src={"/ziggy.svg"} width={200}/>