mirror of
https://github.com/etiennecollin/unifi-voucher-manager.git
synced 2025-10-23 08:12:15 +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 VoucherCode from "@/components/utils/VoucherCode";
|
||||
import { Voucher } from "@/types/voucher";
|
||||
|
@@ -1,5 +1,3 @@
|
||||
"use client";
|
||||
|
||||
import { useGlobal } from "@/contexts/GlobalContext";
|
||||
|
||||
export type Theme = "system" | "light" | "dark";
|
||||
|
@@ -1,5 +1,3 @@
|
||||
"use client";
|
||||
|
||||
import { copyText } from "@/utils/clipboard";
|
||||
import { formatCode } from "@/utils/format";
|
||||
import { notify } from "@/utils/notifications";
|
||||
|
Reference in New Issue
Block a user