blob: 93d070ce87732660ecec7f4d11c6e3e59b98924e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
import React from 'react';
import {render} from 'react-dom';
import App from "./app";
import './app/index.scss';
const renderMainSearch = () => {
render(<App/>, document.getElementById('searchBar'));
}
let renderApp = () => {
renderMainSearch();
document.removeEventListener('DOMContentLoaded', renderApp);
};
document.addEventListener('DOMContentLoaded', renderApp);
|