diff --git a/components/dashboard/settings-tabs.tsx b/components/dashboard/settings-tabs.tsx index ba56075..2666cc8 100644 --- a/components/dashboard/settings-tabs.tsx +++ b/components/dashboard/settings-tabs.tsx @@ -3,7 +3,7 @@ import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs" import { SmsSettingsForm } from "@/components/dashboard/sms-settings-form" import { AppearanceForm } from "@/components/dashboard/appearance-form" -import { UsersTable } from "@/components/dashboard/users-table" +import { UsersTable, Profile } from "@/components/dashboard/users-table" import { ContentForm } from "@/components/dashboard/content-form" import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card" import { Button } from "@/components/ui/button" @@ -14,7 +14,7 @@ interface SettingsTabsProps { username: string header: string } | null - users: Record[] + users: Profile[] contents: SiteContent[] } diff --git a/components/dashboard/users-table.tsx b/components/dashboard/users-table.tsx index b681a0a..17fb6b8 100644 --- a/components/dashboard/users-table.tsx +++ b/components/dashboard/users-table.tsx @@ -12,7 +12,7 @@ import { } from "@/components/ui/table" import { Badge } from "@/components/ui/badge" -interface Profile { +export interface Profile { id: string full_name: string role: string