Skip to content
Snippets Groups Projects
intlWrapper.jsx 303 B
Newer Older
Alexander Schoch's avatar
Alexander Schoch committed
"use client";

import type { ReactNode } from "react";

import { I18nProviderClient } from "@/locales/client";

export default function IntlWrapper({
  children,
  locale,
}: {
  children: ReactNode;
  locale: string;
}) {
  return <I18nProviderClient locale={locale}>{children}</I18nProviderClient>;
}