🐛 fix(editor): Change value

This commit is contained in:
web@ppanel
2024-12-03 19:25:45 +07:00
parent 57fae12653
commit 4fdfeb2b1c
3 changed files with 45 additions and 15 deletions
-2
View File
@@ -5,11 +5,9 @@ import { MarkdownEditor } from '@repo/ui/editor';
import { toast } from '@shadcn/ui/lib/sonner';
import { useQuery } from '@tanstack/react-query';
import { useTranslations } from 'next-intl';
import { useTheme } from 'next-themes';
export default function Tos() {
const t = useTranslations('system.tos');
const { resolvedTheme } = useTheme();
const { data, refetch, isFetched } = useQuery({
queryKey: ['getTosConfig'],
queryFn: async () => {