fix(dashboard): broken af

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-11-20 14:24:50 +01:00
parent 9c8badd68d
commit 5326111337
2 changed files with 4 additions and 4 deletions

View File

@@ -6,10 +6,10 @@ import { getInvites, getProjectsByOrganizationId } from '@openpanel/db';
import CreateInvite from './create-invite';
interface Props {
organizationSlug: string;
organizationId: string;
}
const InvitesServer = async ({ organizationSlug: organizationId }: Props) => {
const InvitesServer = async ({ organizationId }: Props) => {
const [invites, projects] = await Promise.all([
getInvites(organizationId),
getProjectsByOrganizationId(organizationId),

View File

@@ -3,10 +3,10 @@ import { MembersTable } from '@/components/settings/members';
import { getMembers, getProjectsByOrganizationId } from '@openpanel/db';
interface Props {
organizationSlug: string;
organizationId: string;
}
const MembersServer = async ({ organizationSlug: organizationId }: Props) => {
const MembersServer = async ({ organizationId }: Props) => {
const [members, projects] = await Promise.all([
getMembers(organizationId),
getProjectsByOrganizationId(organizationId),