Skip to content

Commit

Permalink
add key property to generate button
Browse files Browse the repository at this point in the history
  • Loading branch information
sakuyacatcat committed Mar 23, 2024
1 parent fbb45bd commit 6539aab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

make before_commit
2 changes: 1 addition & 1 deletion app/api/frames/createStamp/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const handleRequest = frames(async (ctx) => {
aspectRatio: '1:1',
},
buttons: [
<Button action="link" target="https://google.com">
<Button action="link" target="https://google.com" key="">
{ctx.message?.inputText}
</Button>,
],
Expand Down

0 comments on commit 6539aab

Please sign in to comment.