Remove useless comment

Change-type: patch
This commit is contained in:
Alexis Svinartchouk 2020-05-14 14:43:44 +02:00
parent 52f80293a2
commit 72c9d616fd

View File

@ -128,23 +128,11 @@ async function flashImageToDrive(
return '';
}
/**
* @summary Get progress button label
* @function
* @public
*
* @returns {String} progress button label
*
* @example
* const label = FlashController.getProgressButtonLabel()
*/
const getProgressButtonLabel = () => {
if (!flashState.isFlashing()) {
return 'Flash!';
}
// TODO: no any
return progressStatus.fromFlashState(flashState.getFlashState() as any);
return progressStatus.fromFlashState(flashState.getFlashState());
};
const formatSeconds = (totalSeconds: number) => {