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:
committed by
GitHub
parent
ca79adc4e5
commit
3406e1c647
@@ -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!);
|
||||
|
||||
Reference in New Issue
Block a user