Bug fix, bootstrap was loading twice.

This commit is contained in:
Graphictoria 2022-07-27 23:51:52 -04:00
parent 9cb693fb9c
commit a4f5c0c5d7
2 changed files with 2 additions and 1 deletions

View File

@ -20,4 +20,6 @@ $(document).ready(function() {
if (document.getElementById(searchBarId)) {
render(<SearchBar />, document.getElementById(searchBarId));
}
window.Bootstrap = Bootstrap;
});

View File

@ -4,7 +4,6 @@
import { createRef, Component } from 'react';
import ReactDOM from 'react-dom';
import * as Bootstrap from 'bootstrap';
import classNames from 'classnames/bind';
const itemId = 'gt-item';