import { useState } from 'react' import { User, Lock, Bell, Globe, Trash2 } from 'lucide-react' export default function Settings({ userSettings, onUpdate }) { const [settings, setSettings] = useState(userSettings || { notifications: { newFollowers: true, comments: true, likes: false, mentions: true, }, privacy: { profileVisibility: 'public', showListeningHistory: true, allowComments: true, }, account: { email: 'john.doe@email.com', username: 'johndoe', } }) const handleToggle = (category, setting) => { setSettings(prev => ({ ...prev, [category]: { ...prev[category], [setting]: !prev[category][setting] } })) } return (

Settings

{/* Account Settings */}

Account Information