mirror of
https://github.com/hexastack/hexabot
synced 2024-12-02 09:05:06 +00:00
fix: remove unused id field
This commit is contained in:
parent
228508dea7
commit
a7f8a205af
@ -145,7 +145,6 @@ export const PostbackInput = ({
|
|||||||
const menuOptions = menu
|
const menuOptions = menu
|
||||||
.filter(({ payload }) => payload)
|
.filter(({ payload }) => payload)
|
||||||
.map(({ title, payload }) => ({
|
.map(({ title, payload }) => ({
|
||||||
id: title,
|
|
||||||
label: title,
|
label: title,
|
||||||
value: payload as string,
|
value: payload as string,
|
||||||
type: PayloadType.menu,
|
type: PayloadType.menu,
|
||||||
|
Loading…
Reference in New Issue
Block a user