Skip to content

Commit 73ca613

Browse files
committed
fix(i18nn): delete locale service to i18n/config and update imports accordingly
1 parent 84ae555 commit 73ca613

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

src/components/local-switcher-select.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
"use client";
2+
import { setUserLocale } from "@/i18n/config";
13
import { Locale } from "@/i18n/request";
24
import { cn } from "@/lib/utils";
3-
import { setUserLocale } from "@/services/locale";
5+
46
import { Avatar, Select, SelectItem } from "@heroui/react";
57
import { useLocale, useTranslations } from "next-intl";
68
import { ChangeEvent, useState, useTransition } from "react";

src/services/locale.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)