Skip to content

Commit 12f206e

Browse files
committed
fix: ts issues (how did this get past ci?)
1 parent a875aa6 commit 12f206e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

frontend/src/ts/pages/profile-search.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import Page from "./page";
22
import * as Skeleton from "../utils/skeleton";
33
import Ape from "../ape";
4-
import {
5-
ValidatedHtmlInputElement,
6-
validateWithIndicator,
7-
} from "../elements/input-validation";
4+
import { ValidatedHtmlInputElement } from "../elements/input-validation";
85
import { UserNameSchema, UserProfile } from "@monkeytype/schemas/users";
96
import { remoteValidation } from "../utils/remote-validation";
107
import * as NavigationEvent from "../observables/navigation-event";
@@ -31,7 +28,7 @@ export const page = new Page({
3128
Skeleton.append("pageProfileSearch", "main");
3229

3330
if (nameInputEl === null) {
34-
nameInputEl = validateWithIndicator(
31+
nameInputEl = new ValidatedHtmlInputElement(
3532
document.querySelector(
3633
".page.pageProfileSearch input"
3734
) as HTMLInputElement,

0 commit comments

Comments
 (0)