Skip to content

Commit fff88dd

Browse files
committed
fmt
1 parent 9248e8a commit fff88dd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/demo/demo.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -287,13 +287,13 @@ const appActions = {
287287
progressBar.max = 100;
288288
progressBar.value = 0;
289289
progressBar.style.width = '100%';
290-
290+
291291
progressContainer.appendChild(progressLabel);
292292
progressContainer.appendChild(progressBar);
293293
$('chat-area').after(progressContainer);
294294

295295
appendLog(`Started receiving file "${info.name}" from ${participant?.identity}`);
296-
296+
297297
reader.onProgress = (progress) => {
298298
console.log(`"progress ${progress ? (progress * 100).toFixed(0) : 'undefined'}%`);
299299

@@ -313,19 +313,19 @@ const appActions = {
313313
const imgContainer = document.createElement('div');
314314
imgContainer.style.margin = '10px 0';
315315
imgContainer.style.padding = '10px';
316-
316+
317317
const img = document.createElement('img');
318318
img.style.maxWidth = '300px';
319319
img.style.maxHeight = '300px';
320320
img.src = URL.createObjectURL(result);
321-
321+
322322
const downloadLink = document.createElement('a');
323323
downloadLink.href = img.src;
324324
downloadLink.innerText = `Download ${info.name}`;
325325
downloadLink.setAttribute('download', info.name);
326326
downloadLink.style.display = 'block';
327327
downloadLink.style.marginTop = '5px';
328-
328+
329329
imgContainer.appendChild(img);
330330
imgContainer.appendChild(downloadLink);
331331
$('chat-area').after(imgContainer);

0 commit comments

Comments
 (0)