fix(dashboard): broken af
This commit is contained in:
@@ -6,10 +6,10 @@ import { getInvites, getProjectsByOrganizationId } from '@openpanel/db';
|
|||||||
import CreateInvite from './create-invite';
|
import CreateInvite from './create-invite';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
organizationSlug: string;
|
organizationId: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const InvitesServer = async ({ organizationSlug: organizationId }: Props) => {
|
const InvitesServer = async ({ organizationId }: Props) => {
|
||||||
const [invites, projects] = await Promise.all([
|
const [invites, projects] = await Promise.all([
|
||||||
getInvites(organizationId),
|
getInvites(organizationId),
|
||||||
getProjectsByOrganizationId(organizationId),
|
getProjectsByOrganizationId(organizationId),
|
||||||
|
|||||||
@@ -3,10 +3,10 @@ import { MembersTable } from '@/components/settings/members';
|
|||||||
import { getMembers, getProjectsByOrganizationId } from '@openpanel/db';
|
import { getMembers, getProjectsByOrganizationId } from '@openpanel/db';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
organizationSlug: string;
|
organizationId: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const MembersServer = async ({ organizationSlug: organizationId }: Props) => {
|
const MembersServer = async ({ organizationId }: Props) => {
|
||||||
const [members, projects] = await Promise.all([
|
const [members, projects] = await Promise.all([
|
||||||
getMembers(organizationId),
|
getMembers(organizationId),
|
||||||
getProjectsByOrganizationId(organizationId),
|
getProjectsByOrganizationId(organizationId),
|
||||||
|
|||||||
Reference in New Issue
Block a user