import { useState } from 'react'; import type { TypeaheadOption } from '@tih/ui'; import { HorizontalDivider } from '@tih/ui'; import CompaniesTypeahead from '~/components/shared/CompaniesTypeahead'; import type { Month, MonthYear } from '~/components/shared/MonthYearPicker'; import MonthYearPicker from '~/components/shared/MonthYearPicker'; export default function HomePage() { const [selectedCompany, setSelectedCompany] = useState(null); const [monthYear, setMonthYear] = useState({ month: (new Date().getMonth() + 1) as Month, year: new Date().getFullYear(), }); return (

Homepage

setSelectedCompany(option)} />
{JSON.stringify(selectedCompany, null, 2)}
); }