Skip to content

Commit 3349c8c

Browse files
committed
Wrap code example with raw to avoid issues with Jekyll
1 parent a1f4916 commit 3349c8c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/usePermissions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ const MyPage = () => {
6565

6666
Permissions are loaded when the app loads and then cached. If your application requires permissions to be refreshed, for example after a change modifying user permissions, you can use `refetch` function to trigger reload.
6767

68+
{% raw %}
6869
```jsx
6970
const GrantAdminPermissionsButton = () => {
7071
const record = useRecordContext();
@@ -86,6 +87,7 @@ const GrantAdminPermissionsButton = () => {
8687
)
8788
}
8889
```
90+
{% endraw %}
8991

9092
## RBAC
9193

0 commit comments

Comments
 (0)