diff options
author | Matt Strapp <matt@mattstrapp.net> | 2023-09-28 10:40:22 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2023-09-28 10:40:22 -0500 |
commit | 638b12bbd12897fb45e7c58fbfa128ee292902ee (patch) | |
tree | 29809973aa535950407685752bb6a22034e63f22 /app/src/lib/ts | |
parent | don't have the github link open in a new tab (diff) | |
download | trinkets-638b12bbd12897fb45e7c58fbfa128ee292902ee.tar trinkets-638b12bbd12897fb45e7c58fbfa128ee292902ee.tar.gz trinkets-638b12bbd12897fb45e7c58fbfa128ee292902ee.tar.bz2 trinkets-638b12bbd12897fb45e7c58fbfa128ee292902ee.tar.lz trinkets-638b12bbd12897fb45e7c58fbfa128ee292902ee.tar.xz trinkets-638b12bbd12897fb45e7c58fbfa128ee292902ee.tar.zst trinkets-638b12bbd12897fb45e7c58fbfa128ee292902ee.zip |
Importing the worker every time is less annoying than a FOUC
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r-- | app/src/lib/ts/truncate.worker.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/src/lib/ts/truncate.worker.ts b/app/src/lib/ts/truncate.worker.ts index eaa65fe..9ddf63c 100644 --- a/app/src/lib/ts/truncate.worker.ts +++ b/app/src/lib/ts/truncate.worker.ts @@ -7,5 +7,3 @@ onmessage = async (message: MessageEvent<TruncateRequest>) => { const truncated = buffer.slice(0, message.data.size); postMessage({ file: truncated } as TruncateResponse); }; - -console.log('Worker successfully loaded!'); |