import { Navigate, Route, Routes } from 'react-router-dom' import { useZino } from './api/provider.jsx' import Login from './pages/Login.jsx' import Shell from './layout/Shell.jsx' import Pipeline from './screens/Pipeline.jsx' import Lead from './screens/Lead.jsx' import AddLead from './screens/AddLead.jsx' export default function App() { const { isAuthed } = useZino() if (!isAuthed) { return ( } /> } /> ) } return ( } /> }> } /> } /> } /> } /> } /> ) }