1
0
Эх сурвалжийг харах

style: remove another ? operator due to EsLint complaining about it

rugk 3 долоо хоног өмнө
parent
commit
974f7983e3

+ 1 - 1
js/test/PasteStatus.js

@@ -92,7 +92,7 @@ describe('PasteStatus', function () {
                 PrivateBin.PasteStatus.init();
                 PrivateBin.PasteStatus.createPasteNotification('https://example.com/', 'https://example.com/delete');
 
-                const hotkey = document.querySelector('#copyhint kbd')?.textContent;
+                const hotkey = document.querySelector('#copyhint kbd').textContent;
 
                 assert.strictEqual(hotkey, 'Ctrl');
             }