diff --git a/apps/apps-backend/jest-e2e.json b/apps/apps-backend/jest-e2e.json index 8a02f0e8a41..a3ce13344dd 100644 --- a/apps/apps-backend/jest-e2e.json +++ b/apps/apps-backend/jest-e2e.json @@ -1,13 +1,13 @@ { - "moduleFileExtensions": ["js", "json", "ts"], - "rootDir": "./", - "testRegex": ".e2e-spec.ts$", - "transform": { - "^.+\\.(t|j)s$": "ts-jest" - }, - "testEnvironment": "node", - "moduleNameMapper": { - "^src/(.*)$": "/dist/$1", - "^@iota/core/(.*)$": "/dist/core/src/$1" - } + "moduleFileExtensions": ["js", "json", "ts"], + "rootDir": "./", + "testRegex": ".e2e-spec.ts$", + "transform": { + "^.+\\.(t|j)s$": "ts-jest" + }, + "testEnvironment": "node", + "moduleNameMapper": { + "^src/(.*)$": "/dist/$1", + "^@iota/core/(.*)$": "/dist/core/src/$1" + } } diff --git a/apps/apps-backend/tsconfig.json b/apps/apps-backend/tsconfig.json index 11f5788c888..62acc1f8668 100644 --- a/apps/apps-backend/tsconfig.json +++ b/apps/apps-backend/tsconfig.json @@ -20,5 +20,5 @@ "paths": { "@iota/core/constants/*": ["./../core/src/constants/*"] } - }, + } } diff --git a/apps/core/src/components/Inputs/AddressInput.tsx b/apps/core/src/components/Inputs/AddressInput.tsx index 63920a9afe0..75d80154ea0 100644 --- a/apps/core/src/components/Inputs/AddressInput.tsx +++ b/apps/core/src/components/Inputs/AddressInput.tsx @@ -5,7 +5,7 @@ import { Input, InputType } from '@iota/apps-ui-kit'; import { Close } from '@iota/ui-icons'; import { useIotaAddressValidation } from '../../hooks'; -import React, { useCallback } from 'react'; +import { useCallback } from 'react'; import { useField, useFormikContext } from 'formik'; export interface AddressInputProps { diff --git a/apps/core/src/components/Inputs/SendTokenFormInput.tsx b/apps/core/src/components/Inputs/SendTokenFormInput.tsx index 3e97b41c707..5a0862e6b37 100644 --- a/apps/core/src/components/Inputs/SendTokenFormInput.tsx +++ b/apps/core/src/components/Inputs/SendTokenFormInput.tsx @@ -1,7 +1,6 @@ // Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -import React from 'react'; import { ButtonPill, Input, InputType } from '@iota/apps-ui-kit'; import { CoinStruct } from '@iota/iota-sdk/client'; import { useFormatCoin, useGasBudgetEstimation } from '../../hooks'; diff --git a/apps/core/src/components/QR.tsx b/apps/core/src/components/QR.tsx index 7ab47b246e3..2c4b806b161 100644 --- a/apps/core/src/components/QR.tsx +++ b/apps/core/src/components/QR.tsx @@ -1,7 +1,6 @@ // Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -import React from 'react'; import { QRCodeSVG } from 'qrcode.react'; export enum QRLevel { diff --git a/apps/core/src/components/buttons/ViewTxnOnExplorerButton.tsx b/apps/core/src/components/buttons/ViewTxnOnExplorerButton.tsx index 247241de188..1ad3734b4ee 100644 --- a/apps/core/src/components/buttons/ViewTxnOnExplorerButton.tsx +++ b/apps/core/src/components/buttons/ViewTxnOnExplorerButton.tsx @@ -1,7 +1,6 @@ // Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -import React, { JSX } from 'react'; import { Button, ButtonType, LoadingIndicator } from '@iota/apps-ui-kit'; import { ArrowTopRight } from '@iota/ui-icons'; @@ -9,7 +8,9 @@ interface ViewTxnOnExplorerButtonProps { digest?: string; } -export function ViewTxnOnExplorerButton({ digest }: ViewTxnOnExplorerButtonProps): JSX.Element { +export function ViewTxnOnExplorerButton({ + digest, +}: ViewTxnOnExplorerButtonProps): React.JSX.Element { return (