diff options
Diffstat (limited to 'web-timeplot/src/bootstrap.js')
| -rw-r--r-- | web-timeplot/src/bootstrap.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/web-timeplot/src/bootstrap.js b/web-timeplot/src/bootstrap.js deleted file mode 100644 index 4b073bc..0000000 --- a/web-timeplot/src/bootstrap.js +++ /dev/null @@ -1,18 +0,0 @@ -import './styles.css'; -import { createApp } from './app/create-app.js'; - -const root = document.getElementById('app'); - -if (!root) { - throw new Error('App root not found'); -} - -createApp(root).catch((error) => { - console.error('Failed to start TimePlot', error); - root.innerHTML = ` - <div style="padding: 24px; color: #fff; font-family: sans-serif;"> - <h1>TimePlot failed to start</h1> - <pre>${String(error)}</pre> - </div> - `; -}); |
