Looking for code review on trpc method calls

As stated I'm looking for some code review on a blog that I've been working on using the T3 stack. I'm relatively new to web dev and am working on the app for personal use and have it working but I also know that I have made some programming fauxpas and more or less looking for "you are on the right track here" or "yeah... stop what you're doing here and refactor, try..." I don't know exactly if this is the correct channel to ask this sort of thing in.
Full repo here: https://github.com/L-Steinmacher/next-blog I know that the logic on this component needs some love badly with the trpc calls:https://github.com/L-Steinmacher/next-blog/blob/25c33410f19b4e0be4b6fb58122949b0d5c3026f/src/components/commentLayout.tsx#L52
GitHub
GitHub - L-Steinmacher/next-blog: making a blog with T3 stack and N...
making a blog with T3 stack and Next.js. Contribute to L-Steinmacher/next-blog development by creating an account on GitHub.
GitHub
next-blog/src/components/commentLayout.tsx at 25c33410f19b4e0be4b6f...
making a blog with T3 stack and Next.js. Contribute to L-Steinmacher/next-blog development by creating an account on GitHub.
0 Replies
No replies yetBe the first to reply to this messageJoin