From 25a66432eb13f91e1e712efde2358083ed679195 Mon Sep 17 00:00:00 2001 From: dylsteck Date: Fri, 16 Aug 2024 16:37:16 -0400 Subject: [PATCH] fix: ensure frame data is refreshing by pulling from `localFrame` --- package.json | 2 +- src/components/molecules/FrameCard.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 2a6bcf0..8e07dfa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@neynar/react", - "version": "0.8.1", + "version": "0.8.2", "description": "Farcaster frontend component library powered by Neynar", "main": "dist/bundle.cjs.js", "module": "dist/bundle.es.js", diff --git a/src/components/molecules/FrameCard.tsx b/src/components/molecules/FrameCard.tsx index f9e0cb7..8b292bc 100644 --- a/src/components/molecules/FrameCard.tsx +++ b/src/components/molecules/FrameCard.tsx @@ -127,10 +127,10 @@ function CastFrame({ frame, onFrameBtnPress }: { frame: NeynarFrame, onFrameBtnP - {frame.input?.text && ( + {localFrame.input?.text && ( handleSetInputValue(e.target.value)} />