From c680f5aa71b08e978444df07f93c381f9d47ab82 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Mon, 5 Jun 2023 10:04:09 -0300
Subject: rename aml

---
 .../src/handlers/InputInteger.tsx                  | 23 ----------------------
 1 file changed, 23 deletions(-)
 delete mode 100644 packages/exchange-backoffice-ui/src/handlers/InputInteger.tsx

(limited to 'packages/exchange-backoffice-ui/src/handlers/InputInteger.tsx')

diff --git a/packages/exchange-backoffice-ui/src/handlers/InputInteger.tsx b/packages/exchange-backoffice-ui/src/handlers/InputInteger.tsx
deleted file mode 100644
index fb04e3852..000000000
--- a/packages/exchange-backoffice-ui/src/handlers/InputInteger.tsx
+++ /dev/null
@@ -1,23 +0,0 @@
-import { VNode, h } from "preact";
-import { InputLine, UIFormProps } from "./InputLine.js";
-
-export function InputInteger<T extends object, K extends keyof T>(
-  props: UIFormProps<T, K>,
-): VNode {
-  return (
-    <InputLine
-      type="number"
-      converter={{
-        //@ts-ignore
-        fromStringUI: (v): number => {
-          return !v ? 0 : Number.parseInt(v, 10);
-        },
-        //@ts-ignore
-        toStringUI: (v?: number): string => {
-          return v === undefined ? "" : String(v);
-        },
-      }}
-      {...props}
-    />
-  );
-}
-- 
cgit v1.2.3

