Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

219 B
Raw Blame
import { useParams } from '@tanstack/react-router';

export function useAppParams() {
  const params = useParams({
    strict: false,
  });
  return params as {
    organizationId: string;
    projectId: string;
  };
}