Try to stop eslint complaining about destructuring (#19629)

This commit is contained in:
Joshua Wehner 2023-06-23 14:51:17 +02:00 committed by GitHub
parent 67ff8d4efb
commit 900f42d224
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,7 +130,7 @@ export function initializeVideoPlayback() {
videoPlayerEvent(false);
break;
case 'tick':
currentTime = message.currentTime;
currentTime = message.currentTime; // eslint-disable-line prefer-destructuring
break;
default:
console.log('Unrecognized message: ', message); // eslint-disable-line no-console