Browse Source
Change order of DeviceInteraction story steps
master
meriadec
7 years ago
No known key found for this signature in database
GPG Key ID: 1D2FC2305E2CB399
1 changed files with
8 additions and
8 deletions
-
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...', |
|
|
|