fix(dashboard): broken af
This commit is contained in:
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user