diff --git a/src/utils/getButtonValues.ts b/src/utils/getButtonValues.ts index 4d20c9bb..b584a279 100644 --- a/src/utils/getButtonValues.ts +++ b/src/utils/getButtonValues.ts @@ -8,7 +8,7 @@ export function getButtonValues( const buttonValues: FrameButtonValue[] = [] for (const intent of intents) { - if (!intent) continue + if (!intent || !('props' in intent)) continue const { property } = intent.props if (!(property as string).match(/^fc:frame:button:(1|2|3|4)$/)) continue buttonValues.push(intent.props['data-value'])