import '@/bridge';
import { router } from '@/shared/configs/sentry';
import { Toasts } from '@/shared/ui/toasts/toasts';
import { TopButton } from '@/widgets/top-button';
import { useInitTheme } from './hooks';
import { IOSStatusBar } from '@/widgets/ios-status-bar';
import { RouterProvider } from 'react-router-dom';

export const App = () => {
  useInitTheme();
  return (
    <>
      <RouterProvider router={router} />
      <Toasts />
      <TopButton />
      <IOSStatusBar />
    </>
  );
};
