fix select-menu guide

This commit is contained in:
Domin-MND
2023-10-27 16:09:18 +03:00
parent c2e5dc04dd
commit 7fee69c8ae

View File

@@ -36,8 +36,7 @@ export function FruitSelect({ onConfirm }) {
``` ```
```jsx ```jsx
const instance = reacord.send( const instance = reacord.createChannelMessage(channel).render(
channelId,
<FruitSelect <FruitSelect
onConfirm={(value) => { onConfirm={(value) => {
instance.render(`you chose ${value}`) instance.render(`you chose ${value}`)