Temu Discount Code 90% Off [[ACW951031]] for all customer 2025
Utilisateur inconnu a commencé cette discussion dans General Discussion

Temu Discount Code 90% Off [[ACW951031]] for all customer 2025Error: ./components/modals/GetCouponModal.tsx:1:27
Ecmascript file had an error
> 1 | import React, { useState, useEffect } from "react";
  | ^^^^^^^^^
  2 | import { PiCaretUp, PiThumbsDown, PiThumbsUp, PiX } from "react-icons/pi";
  3 | import Button from "../ui/buttons/Button";
  4 | import Link from "next/link";

You're importing a component that needs useEffect. This React hook only works in a client component. To fix, mark the file (or its parent) with the "use client" directive.

Learn more: https://nextjs.org/docs/app/api-reference/directives/use-client
at BuildError (http://localhost:3007/_next/static/chunks/%5Broot%20of%20the%20server%5D__344122cf._.js:20850:41)
at react-stack-bottom-frame (http://localhost:3007/_next/static/chunks/node_modules_react-dom_82bb97c6._.js:12388:24)
at renderWithHooks (http://localhost:3007/_next/static/chunks/node_modules_react-dom_82bb97c6._.js:3402:24)
at updateFunctionComponent (http://localhost:3007/_next/static/chunks/node_modules_react-dom_82bb97c6._.js:4726:21)
at beginWork (http://localhost:3007/_next/static/chunks/node_modules_react-dom_82bb97c6._.js:5358:24)
at runWithFiberInDEV (http://localhost:3007/_next/static/chunks/node_modules_react-dom_82bb97c6._.js:631:20)
at performUnitOfWork (http://localhost:3007/_next/static/chunks/node_modules_react-dom_82bb97c6._.js:7947:97)
at workLoopSync (http://localhost:3007/_next/static/chunks/node_modules_react-dom_82bb97c6._.js:7840:40)
at renderRootSync (http://localhost:3007/_next/static/chunks/node_modules_react-dom_82bb97c6._.js:7823:13)
at performWorkOnRoot (http://localhost:3007/_next/static/chunks/node_modules_react-dom_82bb97c6._.js:7558:211)
at performWorkOnRootViaSchedulerTask (http://localhost:3007/_next/static/chunks/node_modules_react-dom_82bb97c6._.js:8386:9)
at MessagePort.performWorkUntilDeadline (http://localhost:3007/_next/static/chunks/node_modules_beb00741._.js:1462:64)

0 réponse · Page 1 sur 1
Publicité
1 participant

LEGO, le logo LEGO, la minifigurine et les configurations des briques et tenons sont des marques déposées de LEGO Group of Companies. ©2025 The LEGO Group.

Mecabricks, le logo Mecabricks et tout le contenu non couvert par les droits d'auteur du groupe LEGO sont, sauf indication contraire, ©2011-2025 Mecabricks.