Skip to content

Commit

Permalink
fix code examples
Browse files Browse the repository at this point in the history
  • Loading branch information
erwanMarmelab committed Sep 27, 2024
1 parent 3c08911 commit 3b55fca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/CreateDialog.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ Below is an example of an `<Edit>` page, including a 'create a new customer' but
Your browser does not support the video tag.
</video>

{% raw %}

```tsx
import React, { useCallback, useState } from 'react';
import {
Expand Down Expand Up @@ -405,3 +407,5 @@ const EmployerEdit = () => (
</Edit>
);
```

{% endraw %}
4 changes: 4 additions & 0 deletions docs/EditDialog.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,8 @@ Below is an example of an `<Edit>` page, including a 'create a new customer' but
Your browser does not support the video tag.
</video>

{% raw %}

```tsx
import React, { useCallback, useState } from 'react';
import {
Expand Down Expand Up @@ -430,3 +432,5 @@ const EmployerEdit = () => (
</Edit>
);
```

{% endraw %}

0 comments on commit 3b55fca

Please sign in to comment.