Commit 482a41e4 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix

parent ae3d8ce0
......@@ -126,7 +126,11 @@
document.getElementById('progress-bar')
) {
loadingProgress.subscribe((value) => {
document.getElementById('progress-bar').style.width = `${value * 0.24}rem`;
const progressBar = document.getElementById('progress-bar');
if (progressBar) {
progressBar.style.width = `${value * 0.24}rem`;
}
});
await loadingProgress.set(100);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment