App.tsx 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. import { AnalyticsManager } from '@/AnalyticsManager'
  2. import { CommonProviders } from '@/CommonProviders'
  3. import { WelcomeDialog } from '@/components/WelcomeDialog'
  4. import { SignInModal } from '@/components/_auth/SignInModal'
  5. import { JoystreamManager } from '@/providers/joystream/joystream.manager'
  6. import { JoystreamProvider } from '@/providers/joystream/joystream.provider'
  7. import { NftActionsProvider } from '@/providers/nftActions/nftActions.provider'
  8. import { NotificationsManager } from '@/providers/notifications/notifications.manager'
  9. import { Snackbars } from '@/providers/snackbars'
  10. import { TransactionsManager } from '@/providers/transactions/transactions.manager'
  11. import { NftPurchaseBottomDrawer } from '@/views/global/NftPurchaseBottomDrawer'
  12. import { NftSaleBottomDrawer } from '@/views/global/NftSaleBottomDrawer'
  13. import { NftSettlementBottomDrawer } from '@/views/global/NftSettlementBottomDrawer'
  14. import { MainLayout } from './MainLayout'
  15. export const App = () => {
  16. return (
  17. <JoystreamProvider>
  18. <CommonProviders>
  19. <AnalyticsManager />
  20. <NftActionsProvider>
  21. <MainLayout />
  22. <Snackbars />
  23. <TransactionsManager />
  24. <JoystreamManager />
  25. <NotificationsManager />
  26. <SignInModal />
  27. <WelcomeDialog />
  28. <NftSettlementBottomDrawer />
  29. <NftPurchaseBottomDrawer />
  30. <NftSaleBottomDrawer />
  31. </NftActionsProvider>
  32. </CommonProviders>
  33. </JoystreamProvider>
  34. )
  35. }