From feec68ebc44a12036007fc4c3d7f12ef6c0d8be2 Mon Sep 17 00:00:00 2001 From: Sarah Third Date: Wed, 15 Jan 2025 10:27:01 -0800 Subject: [PATCH] I don't think we need this check anymore --- packages/perseus/src/components/simple-keypad-input.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/perseus/src/components/simple-keypad-input.tsx b/packages/perseus/src/components/simple-keypad-input.tsx index 90d4d1bd4b..f1cb199cc6 100644 --- a/packages/perseus/src/components/simple-keypad-input.tsx +++ b/packages/perseus/src/components/simple-keypad-input.tsx @@ -45,9 +45,7 @@ export default class SimpleKeypadInput extends React.Component { } blur() { - if (typeof this.inputRef.current?.blur === "function") { - this.inputRef.current?.blur(); - } + this.inputRef.current?.blur(); } getValue(): string | number {