update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user