Skip to content

Commit

Permalink
the if component should use roles not viewers
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Oct 28, 2024
1 parent be821ff commit b3d7f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fern/test.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Testing content here.

<If viewers={["employees"]}>
<If roles={["employees"]}>
<h1>Hello Employee!</h1>
</If>

1 comment on commit b3d7f92

@vercel
Copy link

@vercel vercel bot commented on b3d7f92 Oct 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.