From 86a8a42f8088080160eb649a14f06fa8c335dbce Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Thu, 31 Aug 2023 15:05:50 +0300 Subject: [PATCH] fix: remove not used argTypes prop in stories --- src/pages/ConnectDevicePage/ConnectDevicePage.stories.ts | 1 - src/pages/CreateLocalNodePage/CreateLocalNodePage.stories.ts | 1 - src/pages/LandingPage/LandingPage.stories.ts | 1 - src/pages/PairDevice/GenerateId.stories.tsx | 1 - src/pages/PairDevice/PairDevice.stories.ts | 1 - src/pages/PairDevice/PairedSuccessfully.stories.tsx | 1 - src/pages/PairDevice/SyncStatus.stories.tsx | 1 - src/pages/ValidatorOnboarding/Activation/Activation.stories.ts | 1 - .../ValidatorOnboarding/Activation/ActivationCard.stories.ts | 1 - .../ValidatorOnboarding/Activation/ActivationSyncCard.stories.ts | 1 - src/pages/ValidatorOnboarding/Advicsories/Advicsories.stories.ts | 1 - src/pages/ValidatorOnboarding/ClientSetup/ClientSetup.stories.ts | 1 - src/pages/ValidatorOnboarding/ClientSetup/SetupRow.stories.ts | 1 - .../ValidatorOnboarding/ClientSetup/WithdrawalAddress.stories.ts | 1 - src/pages/ValidatorOnboarding/FormStepper/FormStepper.stories.ts | 1 - .../KeyGeneration/ConfirmRecoveryPhrase.stories.ts | 1 - .../ValidatorOnboarding/KeyGeneration/KeyGeneration.stories.ts | 1 - .../KeyGenerationHeader/KeyGenerationHeader.stories.ts | 1 - .../KeyGenerationHeader/KeyGenerationSyncCard.stories.ts | 1 - .../KeyGeneration/KeyGenerationTitle.stories.ts | 1 - .../ValidatorOnboarding/KeyGeneration/KeystoreFiles.stories.ts | 1 - .../KeyGeneration/RecoveryMechanism/RecoveryMechanism.stories.ts | 1 - .../RecoveryMechanism/RecoveryMechanismCard.stories.ts | 1 - .../ValidatorOnboarding/KeyGeneration/RecoveryPhrase.stories.ts | 1 - src/pages/ValidatorOnboarding/Overview/Overview.stories.ts | 1 - .../ValidatorBoxWrapper/ValidatorBoxWrapper.stories.ts | 1 - src/pages/ValidatorOnboarding/ValidatorOnboarding.stories.ts | 1 - .../ValidatorSetup/ValidatorInstall.stories.tsx | 1 - .../ValidatorOnboarding/ValidatorSetup/ValidatorSetup.stories.ts | 1 - 29 files changed, 29 deletions(-) diff --git a/src/pages/ConnectDevicePage/ConnectDevicePage.stories.ts b/src/pages/ConnectDevicePage/ConnectDevicePage.stories.ts index 5793f322..b9e2b668 100644 --- a/src/pages/ConnectDevicePage/ConnectDevicePage.stories.ts +++ b/src/pages/ConnectDevicePage/ConnectDevicePage.stories.ts @@ -10,7 +10,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, decorators: [withRouter], } satisfies Meta diff --git a/src/pages/CreateLocalNodePage/CreateLocalNodePage.stories.ts b/src/pages/CreateLocalNodePage/CreateLocalNodePage.stories.ts index 8b61dea8..4405c851 100644 --- a/src/pages/CreateLocalNodePage/CreateLocalNodePage.stories.ts +++ b/src/pages/CreateLocalNodePage/CreateLocalNodePage.stories.ts @@ -10,7 +10,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, decorators: [withRouter], } satisfies Meta diff --git a/src/pages/LandingPage/LandingPage.stories.ts b/src/pages/LandingPage/LandingPage.stories.ts index cd135e43..e44d9337 100644 --- a/src/pages/LandingPage/LandingPage.stories.ts +++ b/src/pages/LandingPage/LandingPage.stories.ts @@ -10,7 +10,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, decorators: [withRouter], } satisfies Meta diff --git a/src/pages/PairDevice/GenerateId.stories.tsx b/src/pages/PairDevice/GenerateId.stories.tsx index 01b6c72a..18a17f0d 100644 --- a/src/pages/PairDevice/GenerateId.stories.tsx +++ b/src/pages/PairDevice/GenerateId.stories.tsx @@ -10,7 +10,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, decorators: [withRouter], } satisfies Meta diff --git a/src/pages/PairDevice/PairDevice.stories.ts b/src/pages/PairDevice/PairDevice.stories.ts index e48c9e60..1bb8e39a 100644 --- a/src/pages/PairDevice/PairDevice.stories.ts +++ b/src/pages/PairDevice/PairDevice.stories.ts @@ -10,7 +10,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, decorators: [withRouter], } satisfies Meta diff --git a/src/pages/PairDevice/PairedSuccessfully.stories.tsx b/src/pages/PairDevice/PairedSuccessfully.stories.tsx index 3744ed5d..fa72b815 100644 --- a/src/pages/PairDevice/PairedSuccessfully.stories.tsx +++ b/src/pages/PairDevice/PairedSuccessfully.stories.tsx @@ -9,7 +9,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, } satisfies Meta export default meta diff --git a/src/pages/PairDevice/SyncStatus.stories.tsx b/src/pages/PairDevice/SyncStatus.stories.tsx index a7c67078..d6d7d3f6 100644 --- a/src/pages/PairDevice/SyncStatus.stories.tsx +++ b/src/pages/PairDevice/SyncStatus.stories.tsx @@ -10,7 +10,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, decorators: [withRouter], } satisfies Meta diff --git a/src/pages/ValidatorOnboarding/Activation/Activation.stories.ts b/src/pages/ValidatorOnboarding/Activation/Activation.stories.ts index dac034ee..9dfef079 100644 --- a/src/pages/ValidatorOnboarding/Activation/Activation.stories.ts +++ b/src/pages/ValidatorOnboarding/Activation/Activation.stories.ts @@ -10,7 +10,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, decorators: [withRouter()], } satisfies Meta diff --git a/src/pages/ValidatorOnboarding/Activation/ActivationCard.stories.ts b/src/pages/ValidatorOnboarding/Activation/ActivationCard.stories.ts index d6185b57..695e12b5 100644 --- a/src/pages/ValidatorOnboarding/Activation/ActivationCard.stories.ts +++ b/src/pages/ValidatorOnboarding/Activation/ActivationCard.stories.ts @@ -10,7 +10,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, decorators: [withRouter()], } satisfies Meta diff --git a/src/pages/ValidatorOnboarding/Activation/ActivationSyncCard.stories.ts b/src/pages/ValidatorOnboarding/Activation/ActivationSyncCard.stories.ts index f9f8b15e..e4fc3429 100644 --- a/src/pages/ValidatorOnboarding/Activation/ActivationSyncCard.stories.ts +++ b/src/pages/ValidatorOnboarding/Activation/ActivationSyncCard.stories.ts @@ -10,7 +10,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, decorators: [withRouter()], } satisfies Meta diff --git a/src/pages/ValidatorOnboarding/Advicsories/Advicsories.stories.ts b/src/pages/ValidatorOnboarding/Advicsories/Advicsories.stories.ts index 1177eaee..16b506e6 100644 --- a/src/pages/ValidatorOnboarding/Advicsories/Advicsories.stories.ts +++ b/src/pages/ValidatorOnboarding/Advicsories/Advicsories.stories.ts @@ -10,7 +10,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, decorators: [withRouter], } satisfies Meta diff --git a/src/pages/ValidatorOnboarding/ClientSetup/ClientSetup.stories.ts b/src/pages/ValidatorOnboarding/ClientSetup/ClientSetup.stories.ts index ac8f1ffe..8885baaf 100644 --- a/src/pages/ValidatorOnboarding/ClientSetup/ClientSetup.stories.ts +++ b/src/pages/ValidatorOnboarding/ClientSetup/ClientSetup.stories.ts @@ -10,7 +10,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, decorators: [withRouter], } satisfies Meta diff --git a/src/pages/ValidatorOnboarding/ClientSetup/SetupRow.stories.ts b/src/pages/ValidatorOnboarding/ClientSetup/SetupRow.stories.ts index 5bd3acf1..e82e3aec 100644 --- a/src/pages/ValidatorOnboarding/ClientSetup/SetupRow.stories.ts +++ b/src/pages/ValidatorOnboarding/ClientSetup/SetupRow.stories.ts @@ -10,7 +10,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, decorators: [withRouter], } satisfies Meta diff --git a/src/pages/ValidatorOnboarding/ClientSetup/WithdrawalAddress.stories.ts b/src/pages/ValidatorOnboarding/ClientSetup/WithdrawalAddress.stories.ts index a4b26ef9..8c5b2939 100644 --- a/src/pages/ValidatorOnboarding/ClientSetup/WithdrawalAddress.stories.ts +++ b/src/pages/ValidatorOnboarding/ClientSetup/WithdrawalAddress.stories.ts @@ -10,7 +10,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, decorators: [withRouter], } satisfies Meta diff --git a/src/pages/ValidatorOnboarding/FormStepper/FormStepper.stories.ts b/src/pages/ValidatorOnboarding/FormStepper/FormStepper.stories.ts index 57997328..ee455a33 100644 --- a/src/pages/ValidatorOnboarding/FormStepper/FormStepper.stories.ts +++ b/src/pages/ValidatorOnboarding/FormStepper/FormStepper.stories.ts @@ -9,7 +9,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, } satisfies Meta export default meta diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/ConfirmRecoveryPhrase.stories.ts b/src/pages/ValidatorOnboarding/KeyGeneration/ConfirmRecoveryPhrase.stories.ts index abb92e98..98ff0424 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/ConfirmRecoveryPhrase.stories.ts +++ b/src/pages/ValidatorOnboarding/KeyGeneration/ConfirmRecoveryPhrase.stories.ts @@ -9,7 +9,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, } satisfies Meta export default meta diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/KeyGeneration.stories.ts b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGeneration.stories.ts index e41c30a1..2eda0059 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/KeyGeneration.stories.ts +++ b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGeneration.stories.ts @@ -9,7 +9,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, } satisfies Meta export default meta diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationHeader/KeyGenerationHeader.stories.ts b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationHeader/KeyGenerationHeader.stories.ts index 7e6f3e93..ef2eb4ab 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationHeader/KeyGenerationHeader.stories.ts +++ b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationHeader/KeyGenerationHeader.stories.ts @@ -9,7 +9,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, } satisfies Meta export default meta diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationHeader/KeyGenerationSyncCard.stories.ts b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationHeader/KeyGenerationSyncCard.stories.ts index 123ef259..7f06c630 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationHeader/KeyGenerationSyncCard.stories.ts +++ b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationHeader/KeyGenerationSyncCard.stories.ts @@ -9,7 +9,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, } satisfies Meta export default meta diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationTitle.stories.ts b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationTitle.stories.ts index 9df7057a..08f5859a 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationTitle.stories.ts +++ b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationTitle.stories.ts @@ -9,7 +9,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, } satisfies Meta export default meta diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/KeystoreFiles.stories.ts b/src/pages/ValidatorOnboarding/KeyGeneration/KeystoreFiles.stories.ts index 98b4908c..d10af412 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/KeystoreFiles.stories.ts +++ b/src/pages/ValidatorOnboarding/KeyGeneration/KeystoreFiles.stories.ts @@ -9,7 +9,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, } satisfies Meta export default meta diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanism.stories.ts b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanism.stories.ts index 0e44ab8b..5b2fbb60 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanism.stories.ts +++ b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanism.stories.ts @@ -10,7 +10,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, } satisfies Meta export default meta diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanismCard.stories.ts b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanismCard.stories.ts index 05f1cbc8..06f87741 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanismCard.stories.ts +++ b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanismCard.stories.ts @@ -10,7 +10,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, } satisfies Meta export default meta diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.stories.ts b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.stories.ts index b0668401..6ca38858 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.stories.ts +++ b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.stories.ts @@ -9,7 +9,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, } satisfies Meta export default meta diff --git a/src/pages/ValidatorOnboarding/Overview/Overview.stories.ts b/src/pages/ValidatorOnboarding/Overview/Overview.stories.ts index 43a08529..54d0e9c2 100644 --- a/src/pages/ValidatorOnboarding/Overview/Overview.stories.ts +++ b/src/pages/ValidatorOnboarding/Overview/Overview.stories.ts @@ -10,7 +10,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, decorators: [withRouter], } satisfies Meta diff --git a/src/pages/ValidatorOnboarding/ValidatorBoxWrapper/ValidatorBoxWrapper.stories.ts b/src/pages/ValidatorOnboarding/ValidatorBoxWrapper/ValidatorBoxWrapper.stories.ts index db226376..e91fcd02 100644 --- a/src/pages/ValidatorOnboarding/ValidatorBoxWrapper/ValidatorBoxWrapper.stories.ts +++ b/src/pages/ValidatorOnboarding/ValidatorBoxWrapper/ValidatorBoxWrapper.stories.ts @@ -9,7 +9,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, } satisfies Meta export default meta diff --git a/src/pages/ValidatorOnboarding/ValidatorOnboarding.stories.ts b/src/pages/ValidatorOnboarding/ValidatorOnboarding.stories.ts index e6c51353..cba26c5d 100644 --- a/src/pages/ValidatorOnboarding/ValidatorOnboarding.stories.ts +++ b/src/pages/ValidatorOnboarding/ValidatorOnboarding.stories.ts @@ -10,7 +10,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, decorators: [withRouter], } satisfies Meta diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstall.stories.tsx b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstall.stories.tsx index 365fe684..2975e4d5 100644 --- a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstall.stories.tsx +++ b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstall.stories.tsx @@ -9,7 +9,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, } satisfies Meta export default meta diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup.stories.ts b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup.stories.ts index 9a7ef640..5189112b 100644 --- a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup.stories.ts +++ b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup.stories.ts @@ -10,7 +10,6 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - argTypes: {}, decorators: [withRouter()], } satisfies Meta