Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
prateek-pareek committed Jul 5, 2024
1 parent 8ff1717 commit 44b69db
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions components/ui/dashboard/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const Dashboard = () => {
const [startDate, setStartDate] = useState(new Date('2023-01-01').getTime());
const [endDate, setEndDate] = useState(new Date('2023-12-31').getTime());
const [filteredData, setFilteredData] = useState([]);

const handleChange = (event: React.ChangeEvent<HTMLInputElement>, isStart: boolean) => {
const newValue = +event;
if (isStart) {
Expand All @@ -23,7 +22,6 @@ const Dashboard = () => {
filterData(newValue)
};


const formatDate = (timestamp: number) => {
return format(new Date(timestamp), 'MM/dd/yyyy');
};
Expand Down

0 comments on commit 44b69db

Please sign in to comment.