mac
TTCTheo's Typesafe Cult
•Created by mac on 8/16/2023 in #questions
React-Hook-Form Issue
I attached the code, there is no errors, it just seems the handleformsubmit function isn't firing, and idk why
8 replies
TTCTheo's Typesafe Cult
•Created by mac on 1/28/2023 in #questions
Make a button which downloads PDF
I know this is a noob question, but I haven't actually done this before. I have a nextjs web page. I want to make a button which downloads my resume as a pdf. How would I do this ?
4 replies
TTCTheo's Typesafe Cult
•Created by mac on 1/10/2023 in #questions
I want to register the selected object using Zod and react-forms
I have quite a large component.
8 replies
TTCTheo's Typesafe Cult
•Created by mac on 1/4/2023 in #questions
Making a form with Zod
I have made my form, its all styled and functional (currently logs the data). I just cant figure out how to display the image as an image within the data.
1 replies
TTCTheo's Typesafe Cult
•Created by mac on 12/8/2022 in #questions
Aligning the right side of an image with the left side of a grid col
34 replies
TTCTheo's Typesafe Cult
•Created by mac on 11/19/2022 in #questions
converting TailwindUI syntax documentation to a page in my app.
Hey I’m just struggling to convert the Syntax docs template from TailwindUI into a page in my application.
10 replies
TTCTheo's Typesafe Cult
•Created by mac on 11/19/2022 in #questions
Im converting my old code to Typescript, I need help with a functions.
Howdy, im just converting some of my old code to Typescript from JS and I am struggling with a few functions. Answers would be amazing.
3 replies
TTCTheo's Typesafe Cult
•Created by mac on 11/17/2022 in #questions
basic js logic question
I have x2 arrays:
QuestBotGuildIds = an array of Id’s from my db.
UserGuilds = an array basic guild information for every guild.
I want to get all of the UserGuilds with an id === one of the guilds in QuestBotGuildId’s. Without a for loop as the QuestBotGuildId’s is an api request, so is UserGuilds.
9 replies
TTCTheo's Typesafe Cult
•Created by mac on 11/16/2022 in #questions
NextAuth Middleware config
Hey guys, first time I've used middleware, I just need a hand.
6 replies
TTCTheo's Typesafe Cult
•Created by mac on 11/14/2022 in #questions
Middleware redirect
I am currently having issues redirecting users to the login screen. User story: a user is not logged in and they click the 'dashboard' button, the button should redirect them to the nextauth login screen.
13 replies
TTCTheo's Typesafe Cult
•Created by mac on 11/7/2022 in #questions
NextAuth Discord Getting Guilds
I've been trying to do this for hours now, how do I fetch the users guilds via NextAuth ? I then want to store the guilds within the guilds within the token. Spoon Feeding would be amazing, I have depression because of this.
40 replies