feat: update GeneralSettingsPageClient and useDaily hook
- Removed unused `CardHeader` import from `GeneralSettingsPageClient.tsx` for cleaner code. - Refactored `useDaily.ts` to replace `dailyClient.updateCheckbox` calls with `updateCheckboxAction`, improving consistency with action usage. - Added `reorderCheckboxesAction` to handle checkbox reordering, including error handling for better user feedback. - Updated database schema in `dev.db` to reflect recent changes.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
import { UserPreferences } from '@/lib/types';
|
||||
import { Header } from '@/components/ui/Header';
|
||||
import { Card, CardHeader, CardContent } from '@/components/ui/Card';
|
||||
import { Card, CardContent } from '@/components/ui/Card';
|
||||
import { UserPreferencesProvider } from '@/contexts/UserPreferencesContext';
|
||||
import Link from 'next/link';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user