refactor: more TS code

This commit is contained in:
Tristan Yang
2022-07-29 22:59:22 +08:00
parent 6bb7af46a0
commit 33c24baecb
52 changed files with 232 additions and 273 deletions
+1 -2
View File
@@ -114,8 +114,7 @@ const RegWithUsername: FC = () => {
onChange={handleInput}
/>
<Button type="submit" disabled={isLoading || !username || isSuccess}>
{/* todo typo */}
{isLoading ? "Logining" : `Continue`}
{isLoading ? "Logging in" : `Continue`}
</Button>
</form>
</>