Skip to content

Commit

Permalink
Add is_approved field
Browse files Browse the repository at this point in the history
  • Loading branch information
mehul-m-prajapati committed Nov 9, 2024
1 parent ee10f8a commit cce908c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/(community)/explore-community/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ const Page: React.FC = () => {
community_members_count: number;
community_image: string;
community_creation_date: string;
}
is_approved: boolean;
}

// State hooks
const [loading, setLoading] = useState(true);
Expand Down Expand Up @@ -117,6 +118,7 @@ const Page: React.FC = () => {
community_image,
community_members_count: 0,
community_creation_date: new Date().toISOString(),
is_approved: false
}]);

if (error) {
Expand Down

0 comments on commit cce908c

Please sign in to comment.