🏷️fix types

This commit is contained in:
Fred KISSIE
2026-01-15 03:46:25 +01:00
parent b76a50238e
commit 9749a272ec
3 changed files with 33 additions and 43 deletions
@@ -1,4 +1,4 @@
import { ApprovalFeed } from "@app/components/ApprovalFeed";
import { ApprovalFeed, type ApprovalItem } from "@app/components/ApprovalFeed";
import SettingsSectionTitle from "@app/components/SettingsSectionTitle";
import { internal } from "@app/lib/api";
import { authCookieHeader } from "@app/lib/api/cookies";
@@ -12,19 +12,6 @@ export interface ApprovalFeedPageProps {
params: Promise<{ orgId: string }>;
}
type ApprovalItem = {
approvalId: number;
orgId: string;
clientId: number | null;
decision: "pending" | "approved" | "denied";
type: "user_device";
user: {
name: string | null;
userId: string;
username: string;
};
};
export default async function ApprovalFeedPage(props: ApprovalFeedPageProps) {
const params = await props.params;