mirror of
https://github.com/etiennecollin/unifi-voucher-manager.git
synced 2025-11-01 20:43:31 +00:00
refactor: removed "use client" from some components
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
"use client";
|
|
||||||
|
|
||||||
import Modal from "@/components/modals/Modal";
|
import Modal from "@/components/modals/Modal";
|
||||||
import VoucherCode from "@/components/utils/VoucherCode";
|
import VoucherCode from "@/components/utils/VoucherCode";
|
||||||
import { Voucher } from "@/types/voucher";
|
import { Voucher } from "@/types/voucher";
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
"use client";
|
|
||||||
|
|
||||||
import { useGlobal } from "@/contexts/GlobalContext";
|
import { useGlobal } from "@/contexts/GlobalContext";
|
||||||
|
|
||||||
export type Theme = "system" | "light" | "dark";
|
export type Theme = "system" | "light" | "dark";
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
"use client";
|
|
||||||
|
|
||||||
import { copyText } from "@/utils/clipboard";
|
import { copyText } from "@/utils/clipboard";
|
||||||
import { formatCode } from "@/utils/format";
|
import { formatCode } from "@/utils/format";
|
||||||
import { notify } from "@/utils/notifications";
|
import { notify } from "@/utils/notifications";
|
||||||
|
|||||||
Reference in New Issue
Block a user