Skip to content

Type error: 'NumberFormat' cannot be used as a JSX component. #295

@tabatinga0xffff

Description

@tabatinga0xffff
$ npm run build
===>
......

- info Linting and checking validity of types ..Failed to compile.

- info Linting and checking validity of types ..../components/BorrowForm.tsx:237:18
Type error: 'NumberFormat' cannot be used as a JSX component.
  Its instance type 'NumberFormat<unknown>' is not a valid JSX element.

  235 |               </div>
  236 |               <div className="col-span-1">
> 237 |                 <NumberFormat
      |                  ^
  238 |                   name="amountIn"
  239 |                   id="amountIn"
  240 |                   inputMode="decimal"
- info Linting and checking validity of types .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions