refector: update ui code #15
Annotations
7 errors and 1 warning
build:
src/pages/Swap.tsx#L66
Element implicitly has an 'any' type because expression of type 'string | number' can't be used to index type '{ btc: string; ln_btc: string; sui: string; sol: string; }'.
|
build:
src/pages/Swap.tsx#L166
Argument of type 'string | number' is not assignable to parameter of type 'string'.
|
build:
src/pages/Swap.tsx#L187
Argument of type 'string | number' is not assignable to parameter of type 'string'.
|
build:
src/pages/Transaction.tsx#L1
'Text' is declared but its value is never read.
|
build:
src/pages/Transaction.tsx#L1
'Flex' is declared but its value is never read.
|
build:
src/pages/Transaction.tsx#L1
'Avatar' is declared but its value is never read.
|
build
Process completed with exit code 2.
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|