Improve settings page by adding customization options for users

Implements i18next translation and theme context on SettingsPage.tsx.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ff0be73b-afdd-4747-978b-bb8301fb0a82
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9777c70b-fc38-4831-8d6b-78dfffe041b0/dd3530ea-4bd5-42ed-a7b3-376f722f9e6d.jpg
This commit is contained in:
ghaddaditw
2025-06-08 06:49:30 +00:00
parent 51fa12e026
commit e62a8600f5
+2
View File
@@ -18,6 +18,8 @@ import { User, Bell, Shield, Palette, Moon, Sun, Globe, Download, Trash2 } from
export default function SettingsPage() {
const { user, updateProfile } = useAuth();
const { toast } = useToast();
const { t, i18n } = useTranslation();
const { theme, toggleTheme } = useTheme();
const [loading, setLoading] = useState(false);
const [profile, setProfile] = useState({
username: user?.username || "",