Skip to content

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

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

const writableConnectionInfoPage = () =>
  import(
    /* webpackChunkName: "writable-connection" */ "./pages/WritableConnectionInfoPage"
  ).then(({ WritableConnectionInfoPage }) => ({
    Component: WritableConnectionInfoPage,
  }));

export function getWritableConnectionInfoRoutes() {
  return (
    <Route path=":databaseId/write-data" lazy={writableConnectionInfoPage} />
  );
}