User
Write something
LMS Platform Hydration error
Hey everyone, can I please get some help with a hydration error in my Next.js + Sanity project? I’ve been following Sonny Sangha’s tutorial and everything was going well until I reached the Sanity Studio section. I’ve been stuck on this the whole night 😅 and I’m not sure if I made a mistake in my setup or if it’s something coming from Sanity’s PortableText renderer. These are the errors I’m getting: Error 1: In HTML, <div> cannot be a descendant of <p>. This will cause a hydration error. See more info here: https://nextjs.org/docs/messages/react-hydration-error Error 2: <p> cannot contain a nested <div>. See this log for the ancestor stack trace. The error points to my app/studio/[[...tool]]/page.tsx file, but my file is literally just: import { NextStudio } from "next-sanity/studio"; import config from "../../../sanity.config"; export const dynamic = "force-static"; export { metadata, viewport } from "next-sanity/studio"; export default function StudioPage() { return <NextStudio config={config} />; } I also tried searching for solutions, and some AIs say the issue might be coming from Sanity’s PortableText blockquote renderer, which auto-generates HTML that causes <p> tags to wrap <div>s. I’m not sure whether I installed something wrong, misconfigured Sanity, or if this is a known issue. If anyone has seen this before or knows how to fix it, I’d really appreciate the help 🙏
Guys! Need help in Schematic Plan
Hi there all! Facing the below error in redlines on changing plan from manage-plan. And I tried below steps. Created new Stripe Account. Created new Schematic Account in Testmode. Made the integration from scratch. Still facing the same error. Is this something issue with Schematic or any should I need to do any additional checks.
1
0
Guys! Need help in Schematic Plan
Guys I need help
In "manage plan" when i try to "change my plan" this error appears (red letters in the image). Can anybody help me please?
Guys I need help
Natural language to sql converter.
Hey guys, i’m currently building an ai app that has an llm to write a sql query which i can then used to fetch the data from a postresql database. My current approach is that i pass the llm with the table schema as well as some sample data (top 5 data in the table) for it to have some context. However, the issue im currently facing is that the items the llm is adding to the sql query does not actually exists in the table. Is my current approach good enough or should i consider switching to using embeddings ?
AI Agents
Guys, why doesn't AI work in my projects? Is it because I used a free API, or what would be the reason? Like I have built multiple AI projects, I know the Claude API key is paid, but ChatGPT isn't paid right, it's the 3rd API key I took from ChatGPT, but it's not working. Kindly please, could someone explain what the exact reason could be and what I should do? I'm really exhausted.
1-30 of 404
University of Code
skool.com/universityofcode
You'll get Exclusive Lessons & Content, Badass Community Support & More here to elevate as a Dev!
Leaderboard (30-day)
Powered by