Fix toast text alignment

The text in the toast notification was left-aligned instead of centered. This commit fixes the alignment issue.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-18 01:56:46 +00:00
parent 043db23836
commit 5bf8ff6e3f
4 changed files with 12 additions and 4 deletions

View File

@@ -6,6 +6,7 @@ import { useAuth } from '@/contexts/auth/AuthProvider';
import { useDataReset } from '@/hooks/useDataReset';
import DataResetDialog from './DataResetDialog';
import { isSyncEnabled } from '@/utils/sync/syncSettings';
import { toast } from '@/hooks/useToast.wrapper';
const DataResetSection = () => {
const [isResetDialogOpen, setIsResetDialogOpen] = useState(false);
@@ -17,6 +18,12 @@ const DataResetSection = () => {
await resetAllData();
setIsResetDialogOpen(false);
// 알림 표시
toast({
title: "데이터 초기화 완료",
description: "모든 데이터가 초기화되었습니다.",
});
// 초기화 후 페이지 새로고침
setTimeout(() => {
window.location.reload();