Browse Source

Change order of DeviceInteraction story steps

master
meriadec 7 years ago
parent
commit
cc7a412c6f
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 16
      src/components/DeviceInteraction/stories.js

16
src/components/DeviceInteraction/stories.js

@ -37,6 +37,14 @@ class Wrapper extends React.Component<any> {
shouldRenderRetry
ref={n => (this._ref = n)}
steps={[
{
id: 'deviceOpen',
title: ({ deviceConnect: device }) =>
`Open the Bitcoin application on your ${device ? `${device.name} ` : ''}device`,
desc: 'To be able to retriev your Bitcoins',
icon: mockIcon,
run: () => new Promise(resolve => setTimeout(resolve, 1 * 1000)),
},
{
id: 'deviceConnect',
title: 'Connect your device',
@ -58,14 +66,6 @@ class Wrapper extends React.Component<any> {
</Box>
),
},
{
id: 'deviceOpen',
title: ({ deviceConnect: device }) =>
`Open the Bitcoin application on your ${device ? `${device.name} ` : ''}device`,
desc: 'To be able to retriev your Bitcoins',
icon: mockIcon,
run: () => new Promise(resolve => setTimeout(resolve, 1 * 1000)),
},
{
id: 'check',
title: 'Checking if all is alright...',

Loading…
Cancel
Save