mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-05-09 18:57:46 +00:00
* initiate recoil state management with entPage and tappingStatus * first recoil selector * insert entries and focusedEntryId into recoil * ws connection, entry data * manage query by recoil * identifier for cypress * conflicts fix * css fix * cr fixes Co-authored-by: gadotroee <55343099+gadotroee@users.noreply.github.com>
31 lines
795 B
TypeScript
31 lines
795 B
TypeScript
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
import './index.sass';
|
|
import App from './App';
|
|
import EntApp from "./EntApp";
|
|
import {ToastContainer} from "react-toastify";
|
|
import 'react-toastify/dist/ReactToastify.css';
|
|
import {RecoilRoot} from "recoil";
|
|
|
|
ReactDOM.render(
|
|
<React.StrictMode>
|
|
<RecoilRoot>
|
|
<>
|
|
{window["isEnt"] ? <EntApp/> : <App/>}
|
|
<ToastContainer
|
|
position="bottom-right"
|
|
autoClose={5000}
|
|
hideProgressBar={false}
|
|
newestOnTop={false}
|
|
closeOnClick
|
|
rtl={false}
|
|
pauseOnFocusLoss
|
|
draggable
|
|
pauseOnHover
|
|
/>
|
|
</>
|
|
</RecoilRoot>
|
|
</React.StrictMode>,
|
|
document.getElementById('root')
|
|
);
|