Separate `functionName` per button
Closed this issue · 3 comments
FTCHD commented
Currently you specify a global functionName
for each handler.
This PR handles specifying a functionName
for each button. This would remove target
for post
type buttons, as it doesn't make sense, as everything on FrameTrain is a function.
Relevant files are @/lib/serve.ts
and @/lib/farcaster.d.ts`
There's an open discussion if we should use the target
for specifying a function from now on instead of removing it. This may be handled in another PR, but worth mentioning here.
waptik commented
where's the open discussion at?
FTCHD commented
You're on it right now! 😁
waptik commented
Color me surprised 🤨. I thought there was a prior discussion about it elsewhere 😂