Skip to content

Commit

Permalink
fix(access): 🐛 show edit option only for members
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnaveen committed Oct 2, 2024
1 parent 1fe23ab commit d4ff681
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/posts/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ interface PostsCardProps {
layout: "compact" | "list" | "grid";
user: User;
currentUserId: string;
hasAccess: boolean;
}

export const PostsCard: React.FC<PostsCardProps> = ({
Expand Down

0 comments on commit d4ff681

Please sign in to comment.