import React from 'react'; import { Provider, useSelector } from 'react-redux'; import { AppActions, RootState, store } from './store'; import { ToastContainer } from 'react-toastify'; import { Box } from 'lr-components'; import { NextUIProvider } from '@nextui-org/react'; import AppActionHook from './components/AppActionHook'; function App() { const show = useSelector((state: RootState) => state.state.show); return ( show && ( {Object.keys(AppActions).map((action) => { return ( ); })} ) ); } export default App;