Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

400 B
Raw Blame
import { Route } from "metabase/router";

const sessionsPage = () =>
  import(
    /* webpackChunkName: "monitor-session-management" */ "./SessionsPage"
  ).then(({ SessionsPage }) => ({
    Component: SessionsPage,
  }));

export function getSessionManagementRoutes() {
  return (
    <>
      <Route index lazy={sessionsPage} />
      <Route path=":sessionId" lazy={sessionsPage} />
    </>
  );
}