BobaBoard / boba-frontend

Frontend for BobaBoard
https://www.bobaboard.com
MIT License
6 stars 11 forks source link

Improve arguments of `usePostOptions` hook #115

Open essential-randomness opened 1 year ago

essential-randomness commented 1 year ago

Some of the arguments of the usePostOptions hook can be inferred from the global react contexts. Also, we should consider passing the whole Post rather than repeating all its data in a data argument.