import { useState } from 'react'; import { Item, Tabs } from 'react-basics'; import AppLayout from 'components/layout/AppLayout'; import ReportList from 'components/pages/reports/ReportList'; import useMessages from 'hooks/useMessages'; export default function ReportsPage() { const [tab, setTab] = useState('create'); const { formatMessage, labels } = useMessages(); return ( {formatMessage(labels.reports)} {formatMessage(labels.save)} {tab === 'create' && } {tab === 'saved' &&

My reports

}
); }