Jessica.ai / frontend /src /App.jsx
M0SSHEAD's picture
Initial commit: Legal Auditor RL System with Secure Vault
f7eafe5
raw
history blame contribute delete
423 Bytes
import React, { useState } from 'react';
import LandingPage from './components/LandingPage';
import Dashboard from './components/Dashboard';
export default function App() {
const [view, setView] = useState('landing');
return (
<>
{view === 'landing' ? (
<LandingPage onEnter={() => setView('dashboard')} />
) : (
<Dashboard onBack={() => setView('landing')} />
)}
</>
);
}