import React, { useState, useEffect } from 'react'; import ChatArea from './components/ChatArea'; import UserProfileSidebar from './components/UserProfileSidebar'; import FullProfileModal from './components/FullProfileModal'; const App: React.FC = () => { const [isLoading, setIsLoading] = useState(true); const [activeChannelName] = useState('Gemini AI'); const [activeFullProfile, setActiveFullProfile] = useState(null); useEffect(() => { // Simulate initial asset loading const timer = setTimeout(() => { setIsLoading(false); }, 1000); return () => clearTimeout(timer); }, []); if (isLoading) { return (
{/* Simple Logo Placeholder */}
Starting Discord AI...
); } return (
{activeFullProfile && ( setActiveFullProfile(null)} /> )}
); }; export default App;