Skip to content

Commit

Permalink
fix: error in composer context docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Complexlity committed Sep 28, 2024
1 parent 795b01e commit 14ce9a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion site/pages/reference/frog-composer-action-response.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ app.composerAction('/', (c) => {
Title of your action which will be shown in the footer of the Composer Form.

```tsx twoslash
// @noErrors
/** @jsxImportSource frog/jsx */
// ---cut---
import { Button, Frog } from 'frog'
Expand All @@ -32,7 +33,7 @@ export const app = new Frog({ title: 'Frog Frame' })

app.composerAction('/', (c) => {
return c.res({
title: 'My Composr Action', // [!code focus]
title: 'My Composer Action', // [!code focus]
url: 'https://example.com'
})
},
Expand All @@ -47,6 +48,7 @@ app.composerAction('/', (c) => {
Composer Form URL. Must be http:// or https:// protocol.

```tsx twoslash
// @noErrors
/** @jsxImportSource frog/jsx */
// ---cut---
import { Button, Frog } from 'frog'
Expand Down

0 comments on commit 14ce9a4

Please sign in to comment.