components#Changelog TypeScript Examples

The following examples show how to use components#Changelog. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AppRouter.tsx    From nuzlocke with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
function AppRouter(): JSX.Element {
  return (
    <Routes>
      <Route
        path="/"
        element={
          <Sentry.ErrorBoundary fallback={<ErrorBoundary />} showDialog>
            <Tracker />
          </Sentry.ErrorBoundary>
        }
      />
      <Route
        path="/rules"
        element={
          <Sentry.ErrorBoundary fallback={<ErrorBoundary />} showDialog>
            <Rules />
          </Sentry.ErrorBoundary>
        }
      />
      <Route
        path="/stats"
        element={
          <Sentry.ErrorBoundary fallback={<ErrorBoundary />} showDialog>
            <Pokestats />
          </Sentry.ErrorBoundary>
        }
      />
      <Route
        path="/builder"
        element={
          <Sentry.ErrorBoundary fallback={<ErrorBoundary />} showDialog>
            <Builder />
          </Sentry.ErrorBoundary>
        }
      />
      <Route
        path="/calculator"
        element={
          <Sentry.ErrorBoundary fallback={<ErrorBoundary />} showDialog>
            <Calculator />
          </Sentry.ErrorBoundary>
        }
      />
      <Route
        path="/settings"
        element={
          <Sentry.ErrorBoundary fallback={<ErrorBoundary />} showDialog>
            <Settings />
          </Sentry.ErrorBoundary>
        }
      />
      <Route
        path="/report"
        element={
          <Sentry.ErrorBoundary fallback={<ErrorBoundary />} showDialog>
            <Report />
          </Sentry.ErrorBoundary>
        }
      />
      <Route
        path="/changelog"
        element={
          <Sentry.ErrorBoundary fallback={<ErrorBoundary />} showDialog>
            <Changelog />
          </Sentry.ErrorBoundary>
        }
      />
      <Route
        path="/about"
        element={
          <Sentry.ErrorBoundary fallback={<ErrorBoundary />} showDialog>
            <About />
          </Sentry.ErrorBoundary>
        }
      />
      <Route
        path="/import"
        element={
          <Sentry.ErrorBoundary fallback={<ErrorBoundary />} showDialog>
            <Import />
          </Sentry.ErrorBoundary>
        }
      />
      <Route
        path="/badgedetail/:game/:badge"
        element={
          <Sentry.ErrorBoundary fallback={<ErrorBoundary />} showDialog>
            <BadgePage />
          </Sentry.ErrorBoundary>
        }
      />
    </Routes>
  );
}