Skip to content

Commit 4aa6b68

Browse files
Fix Aside component rendering issue
The Aside component was not rendering because it used a non-existent endpoint 'POST /plants/{plantId}'. Changed to use 'POST /chat/{domain}' which is a valid endpoint in the API definition and is used successfully in other component pages. Co-Authored-By: Kapil Gowru <[email protected]>
1 parent a1f5220 commit 4aa6b68

File tree

1 file changed

+2
-2
lines changed
  • fern/products/docs/pages/component-library/default-components

1 file changed

+2
-2
lines changed

fern/products/docs/pages/component-library/default-components/aside.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ description: 'Push any content inside the Aside component to the right of the pa
66
The Aside component creates a sticky container that floats content to the right of your page. Use it to showcase code examples, API snippets, or any supplementary content that should stay visible as users scroll.
77

88
<Aside>
9-
<EndpointRequestSnippet endpoint='POST /plants/{plantId}' />
9+
<EndpointRequestSnippet endpoint='POST /chat/{domain}' />
1010
</Aside>
1111

1212
## Usage
1313

1414
```jsx
1515
<Aside>
16-
<EndpointRequestSnippet endpoint='POST /plants/{plantId}' />
16+
<EndpointRequestSnippet endpoint='POST /chat/{domain}' />
1717
</Aside>
1818
```

0 commit comments

Comments
 (0)