Skip to content

Open-source and local-first Slack and Notion alternative that puts you in control of your data

447 B
Raw Blame
import { createRoute } from '@tanstack/react-router';

import { Register } from '@colanode/ui/components/auth/register';
import { RegisterTab } from '@colanode/ui/components/auth/register-tab';
import { authRoute } from '@colanode/ui/routes/auth';

export const registerRoute = createRoute({
  getParentRoute: () => authRoute,
  path: '/register',
  component: Register,
  context: () => {
    return {
      tab: <RegisterTab />,
    };
  },
});