diff options
Diffstat (limited to 'plugins/base/frontend/src/main/components/root.tsx')
-rw-r--r-- | plugins/base/frontend/src/main/components/root.tsx | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/plugins/base/frontend/src/main/components/root.tsx b/plugins/base/frontend/src/main/components/root.tsx deleted file mode 100644 index 93d070ce..00000000 --- a/plugins/base/frontend/src/main/components/root.tsx +++ /dev/null @@ -1,22 +0,0 @@ -/* - * 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); |