mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-02 21:44:06 +08:00
fix: ts issues (how did this get past ci?)
This commit is contained in:
parent
a875aa6ede
commit
12f206eeca
1 changed files with 2 additions and 5 deletions
|
|
@ -1,10 +1,7 @@
|
|||
import Page from "./page";
|
||||
import * as Skeleton from "../utils/skeleton";
|
||||
import Ape from "../ape";
|
||||
import {
|
||||
ValidatedHtmlInputElement,
|
||||
validateWithIndicator,
|
||||
} from "../elements/input-validation";
|
||||
import { ValidatedHtmlInputElement } from "../elements/input-validation";
|
||||
import { UserNameSchema, UserProfile } from "@monkeytype/schemas/users";
|
||||
import { remoteValidation } from "../utils/remote-validation";
|
||||
import * as NavigationEvent from "../observables/navigation-event";
|
||||
|
|
@ -31,7 +28,7 @@ export const page = new Page({
|
|||
Skeleton.append("pageProfileSearch", "main");
|
||||
|
||||
if (nameInputEl === null) {
|
||||
nameInputEl = validateWithIndicator(
|
||||
nameInputEl = new ValidatedHtmlInputElement(
|
||||
document.querySelector(
|
||||
".page.pageProfileSearch input"
|
||||
) as HTMLInputElement,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue