This commit is contained in:
silas
2021-12-12 18:46:34 +01:00
parent 7611c41c67
commit 4f0bb9b3de
4 changed files with 7 additions and 36067 deletions

View File

@@ -17,7 +17,7 @@ function PartnerTable({}: PartnerTableProps) {
const dispatch = useAppDispatch();
const columnsWeek = useMemo(() => {
const columns: Column<string> = [
const columns: Column<string>[] = [
{
Header: 'Partner 1',
accessor: 'partner1', // accessor is the "key" in the data
@@ -73,7 +73,7 @@ function PartnerTable({}: PartnerTableProps) {
}, [usePartners]);
const columnsWeekdays = useMemo(() => {
const columns: Column<string> = [
const columns: Column<string>[] = [
{
Header: 'Person',
accessor: 'person', // accessor is the "key" in the data