Browse Source

fix(channelform): fix channel form title to include step #

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
690644abde
  1. 1
      app/components/ChannelForm/StepThree.scss
  2. 1
      app/components/ChannelForm/StepTwo.scss
  3. 8
      app/reducers/channelform.js

1
app/components/ChannelForm/StepThree.scss

@ -28,7 +28,6 @@
}
label {
margin-left: -25px;
height: 200px;
color: $main;

1
app/components/ChannelForm/StepTwo.scss

@ -28,7 +28,6 @@
}
label {
margin-left: -25px;
height: 200px;
color: $main;

8
app/reducers/channelform.js

@ -96,13 +96,13 @@ channelFormSelectors.channelFormHeader = createSelector(
step => {
switch (step) {
case 1:
return 'Select a peer'
return 'Step 1: Select a peer'
case 2:
return 'Set your local amount'
return 'Step 2: Set your local amount'
case 3:
return 'Set your push amount'
return 'Step 3: Set your push amount'
default:
return 'Create your channel'
return 'Step 4: Create your channel'
}
}
)

Loading…
Cancel
Save