#Hydration Error

2 messages · Page 1 of 1 (latest)

winter lion
#

Can someone tell me why i get an hydration Error on this?

<main className="font-light">
      <div className="mb-2">Logo.(REPLACE)</div>
      <h1 className="text-2xl mb-2">{t('header')}</h1>
      <div className="flex text-md">
        <p className="mr-1">{t('isregistered')}</p>
        <div className="text-blue-600 cursor-pointer hover:underline">
          <a href="/signin">{t('login')}.</a>
        </div>
      </div>
      <div className="mt-4">
        <div className="grid w-full max-w-sm items-center gap-1.5">
          <Label className="ml-1">Email</Label>
          <Input type="email" placeholder="Email" />
        </div>
        <div className="grid w-full max-w-sm items-center gap-1.5 mt-3">
          <Label className="ml-1">Email</Label>
          <Input type="email" placeholder="Email" />
        </div>
        <div className="grid w-full max-w-sm items-center gap-1.5 mt-3">
          <Label className="ml-1">Email</Label>
          <Input type="email" placeholder="Email" />
        </div>
        <div className="grid w-full max-w-sm items-center gap-1.5 mt-3">
          <Label className="ml-1">Email</Label>
          <Input type="email" placeholder="Email" />
        </div>
      </div>
      <Button className="w-full h-10 mt-4">{t('createaccount')}</Button>
      <div className="flex mt-8">
        <p className="line w-1/2 h-px bg-black" />
        <p className="inline text-sm mx-3 -mt-[10px]">{t('or')}</p>
        <p className="line w-1/2 h-px bg-black" />
      </div>
    </main>
mystic jewelBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)