feat(subscribe): Add unit time

This commit is contained in:
web@ppanel
2024-12-20 18:52:30 +07:00
parent d8b0bd9c2d
commit 39d07ecee5
80 changed files with 553 additions and 165 deletions
@@ -16,7 +16,6 @@ import {
SheetTrigger,
} from '@shadcn/ui/sheet';
import { useTranslations } from 'next-intl';
import { useTheme } from 'next-themes';
import { useEffect, useState } from 'react';
const formSchema = z.object({
@@ -41,7 +40,6 @@ export default function DocumentForm<T extends Record<string, any>>({
title,
}: DocumentFormProps<T>) {
const t = useTranslations('document');
const { resolvedTheme } = useTheme();
const [open, setOpen] = useState(false);
const form = useForm({
resolver: zodResolver(formSchema),