From cc7a412c6fe4829c806019f8ea121cfdbc2f00e8 Mon Sep 17 00:00:00 2001 From: meriadec Date: Mon, 2 Jul 2018 17:01:52 +0200 Subject: [PATCH] Change order of DeviceInteraction story steps --- src/components/DeviceInteraction/stories.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/DeviceInteraction/stories.js b/src/components/DeviceInteraction/stories.js index 2ae99f16..4ddca24c 100644 --- a/src/components/DeviceInteraction/stories.js +++ b/src/components/DeviceInteraction/stories.js @@ -37,6 +37,14 @@ class Wrapper extends React.Component { 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 { ), }, - { - 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...',