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 ''; return '';
} }
/**
* @summary Get progress button label
* @function
* @public
*
* @returns {String} progress button label
*
* @example
* const label = FlashController.getProgressButtonLabel()
*/
const getProgressButtonLabel = () => { const getProgressButtonLabel = () => {
if (!flashState.isFlashing()) { if (!flashState.isFlashing()) {
return 'Flash!'; return 'Flash!';
} }
return progressStatus.fromFlashState(flashState.getFlashState());
// TODO: no any
return progressStatus.fromFlashState(flashState.getFlashState() as any);
}; };
const formatSeconds = (totalSeconds: number) => { const formatSeconds = (totalSeconds: number) => {