Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #24 from neynarxyz/ds/fix-frame-bugs
Browse files Browse the repository at this point in the history
fix: ensure frame data is refreshing by pulling from `localFrame`
  • Loading branch information
dylsteck authored Aug 16, 2024
2 parents d18d64f + 25a6643 commit b7b6368
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/components/molecules/FrameCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ function CastFrame({ frame, onFrameBtnPress }: { frame: NeynarFrame, onFrameBtnP
<a href={localFrame.frames_url} target="_blank" rel="noopener noreferrer">
<FrameImage src={localFrame.image} alt={`Frame image for ${localFrame.frames_url}`} />
</a>
{frame.input?.text && (
{localFrame.input?.text && (
<InputField
type="text"
placeholder={frame.input.text}
placeholder={localFrame.input.text}
value={inputValue}
onChange={(e) => handleSetInputValue(e.target.value)}
/>
Expand Down

0 comments on commit b7b6368

Please sign in to comment.