Skip to content

Commit b64f113

Browse files
committed
revert
1 parent fab6f8e commit b64f113

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

src/app/Flash.jsx

+6-9
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,8 @@ const steps = {
5656
},
5757
[Step.DONE]: {
5858
status: 'Done',
59-
description: 'Your device has been updated successfully. You can now unplug the all cables from your device, '
60-
+'and wait for the light to stop blinking then plug the power cord in again. '
61-
+' To complete the system reset, follow the instructions on your device.',
59+
description: 'Your device has been flashed successfully. To complete the system reset, follow the instructions ' +
60+
'on your device.',
6261
bgColor: 'bg-green-500',
6362
icon: done,
6463
},
@@ -67,8 +66,7 @@ const steps = {
6766
const errors = {
6867
[Error.UNKNOWN]: {
6968
status: 'Unknown error',
70-
description: 'An unknown error has occurred. Unplug your device and wait for 20s. ' +
71-
'Restart your browser and try again.',
69+
description: 'An unknown error has occurred. Unplug your device, restart your browser and try again.',
7270
bgColor: 'bg-red-500',
7371
icon: exclamation,
7472
},
@@ -80,14 +78,12 @@ const errors = {
8078
},
8179
[Error.LOST_CONNECTION]: {
8280
status: 'Lost connection',
83-
description: 'The connection to your device was lost. Check that your cables are connected properly and try again. ' +
84-
'Unplug your device and wait for around 20s.',
81+
description: 'The connection to your device was lost. Check that your cables are connected properly and try again.',
8582
icon: cable,
8683
},
8784
[Error.DOWNLOAD_FAILED]: {
8885
status: 'Download failed',
89-
description:'The system image could not be downloaded. Unplug your device and wait for 20s. ' +
90-
'Check your internet connection and try again.',
86+
description: 'The system image could not be downloaded. Check your internet connection and try again.',
9187
icon: cloudError,
9288
},
9389
[Error.CHECKSUM_MISMATCH]: {
@@ -114,6 +110,7 @@ const errors = {
114110
},
115111
}
116112

113+
117114
function LinearProgress({ value, barColor }) {
118115
if (value === -1 || value > 100) value = 100
119116
return (

0 commit comments

Comments
 (0)