Bug fix, bootstrap was loading twice.
This commit is contained in:
parent
9cb693fb9c
commit
a4f5c0c5d7
|
|
@ -20,4 +20,6 @@ $(document).ready(function() {
|
||||||
if (document.getElementById(searchBarId)) {
|
if (document.getElementById(searchBarId)) {
|
||||||
render(<SearchBar />, document.getElementById(searchBarId));
|
render(<SearchBar />, document.getElementById(searchBarId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window.Bootstrap = Bootstrap;
|
||||||
});
|
});
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
import { createRef, Component } from 'react';
|
import { createRef, Component } from 'react';
|
||||||
import ReactDOM from 'react-dom';
|
import ReactDOM from 'react-dom';
|
||||||
|
|
||||||
import * as Bootstrap from 'bootstrap';
|
|
||||||
import classNames from 'classnames/bind';
|
import classNames from 'classnames/bind';
|
||||||
|
|
||||||
const itemId = 'gt-item';
|
const itemId = 'gt-item';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue