Trouble with contact form in deployed site
Hi Gabe, I'm using the bootstrap/CRA/firebase version of divjoy and I'm having trouble with the contact form. I've deployed to firebase, but the form is throwing a Unexpected token < in JSON at position 0. I managed to get the following errors logged to the console when running…
Any recommendations for components for a dashboard view?
Looking for the classic fixed left sidebar with fluid content within a container covering the majority of the screen. Many examples show up when I search Google and I'm looking for guidance on something that will just work, like the code base Divjoy provides! Maybe this is…
Can't submit contact form with no user logged in
Hi Gabe, could you help me with a small error? I'm using Divjoy's nextjs w/ firebase template and am running into an error when I try to submit the contact form with no user logged in. I get: (TypeError): Cannot read property 'getIdToken' of null. It references lines 4 -7 in…
Rendering children when Form Checkbox is checked?
I'm looking to create a simple "If" statement in my DivJoy contact form. I have a checkbox asking if the form filler is a "business customer". If that checkbox is checked, I need an additional field to appear asking "Company Name" How can I make the checkbox smart so that it…
Meaning of uid = auth.user && auth.user.uid
I'm trying to get the uid to fetch user information from Firebase. I'm confused at how to use a "hook" to get the auth instance first and then use another hook to fetch the data (the synchronization / ordering). I see this way currently works: const uid = auth.user &&…
Is there any documentation on using external api's?
I'm trying to fetch data from an external API and use CORS middleware exactly as described in the Next.js documentation https://nextjs.org/docs/api-routes/api-middlewares#connectexpress-middleware-support But no matter what I try, all it returns is undefined. I've tried multiple…
Overall iterative developer workflow with divjoy
We have exported code with a few selected components and made modifications offline to it. Now, we would like a few new components included in our existing project. A couple of examples are (1) Adding a carousel section to a modified project (2) Adding the new database support…