Next.js Discord

Discord Forum

Getting: Detected multiple renderers concurrently rendering the same context provider.

Unanswered
SID posted this in #help-forum
Open in Discord
SIDOP
I Implemented internalization using Next.js 13 app router official docs but after implementing it I am getting these error/warnings in application
"Warning: Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.”


Sample page I am using
const processAmount = async (formData: FormData) => {
  "use server";
    .. .some operation 
  redirect(`/en/sell/bank?${params.toString()}`);
};

export default async function Sell({
  params: { lang },
}: {
  params: { lang: Locale };
}) {

    const { sellPage } = await getDictionary(lang);

  return (
    <main className="main_container">
      ...
    </main>
  );
}


can anyone help me with this

2 Replies

American Crocodile
got the same problem, did you find a solution?
American Crocodile
the related issue is this one: https://github.com/vercel/next.js/issues/49408