fix: api keys not showing (#1839)

This commit is contained in:
David Nguyen
2025-06-13 17:20:03 +10:00
committed by GitHub
parent 031a7b9e36
commit b8e08e88ac
5 changed files with 4 additions and 40 deletions

View File

@ -83,7 +83,9 @@ export const OrganisationCreateDialog = ({ trigger, ...props }: OrganisationCrea
const { mutateAsync: createOrganisation } = trpc.organisation.create.useMutation();
const { data: plansData } = trpc.billing.plans.get.useQuery();
const { data: plansData } = trpc.billing.plans.get.useQuery(undefined, {
enabled: IS_BILLING_ENABLED(),
});
const onFormSubmit = async ({ name }: TCreateOrganisationFormSchema) => {
try {