update bootstrap to version 5 (#158)

* chore: update bootstrap to version 5

* chore: fix lint

* merge master

* update components to use bootstrap 5
This commit is contained in:
Juan Sebastian velez Posada
2024-01-15 08:56:17 -05:00
committed by GitHub
parent ca79adc4e5
commit 3406e1c647
19 changed files with 3469 additions and 3278 deletions

View File

@@ -5,9 +5,7 @@ import WakaTime from './components/WakaTime';
import createStore from './stores/createStore';
import checkCurrentUser from './utils/checkCurrentUser';
/* This is a fix for Bootstrap requiring jQuery */
global.jQuery = require('jquery');
require('bootstrap');
import 'bootstrap/dist/js/bootstrap';
const container = document.getElementById('wakatime');
const root = createRoot(container!);