Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Feb 4, 2024
1 parent 7b1674e commit 6dac0c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools-public/toolpad/components/PieChart.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import { createComponent } from '@mui/toolpad-core';
import { createComponent } from '@mui/toolpad/browser';
import { PieChart, Pie, Cell, Tooltip } from 'recharts';

// Copied from https://wpdatatables.com/data-visualization-color-palette/
Expand Down
2 changes: 1 addition & 1 deletion tools-public/toolpad/resources/updateMuiPaidSupport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export async function updateMuiPaidSupport(issueId: string, repo: string, suppor
};
}

const targetSupportKeyExpirationDate = new Date(rows[rowIndex][1]);
const targetSupportKeyExpirationDate = new Date(rows![rowIndex][1]);
const today = new Date();

if (targetSupportKeyExpirationDate < today) {
Expand Down

0 comments on commit 6dac0c7

Please sign in to comment.