diff --git a/src/assets/marketplaceImages/Libra_Cart_temp.jpg b/src/assets/marketplaceImages/Libra_Cart_temp.jpg new file mode 100644 index 0000000..a6ff0cc Binary files /dev/null and b/src/assets/marketplaceImages/Libra_Cart_temp.jpg differ diff --git a/src/bin/BinsList.tsx b/src/bin/BinsList.tsx index 3ae7428..71a9240 100644 --- a/src/bin/BinsList.tsx +++ b/src/bin/BinsList.tsx @@ -22,6 +22,7 @@ interface Props { loadMore?: () => void; //startingTranslate: number; valDisplay?: "high" | "low" | "average"; + insert?: boolean } const useStyles = makeStyles((_theme) => { @@ -39,7 +40,7 @@ const useStyles = makeStyles((_theme) => { }); export default function BinsList(props: Props) { - const { bins, duplicateBin, title, gridView, loadMore, valDisplay } = props; + const { bins, duplicateBin, title, gridView, loadMore, valDisplay, insert } = props; const classes = useStyles(); // const history = useHistory(); const navigate = useNavigate() @@ -114,7 +115,12 @@ export default function BinsList(props: Props) { {bins.map((b, i) => ( createStyles({}); @@ -249,18 +251,30 @@ class DateSelect extends React.Component { onClose={this.closeDateRangeDialog} aria-labelledby="date-range-dialog"> - {/* this.updateDateRange(date)} - renderInput={(startProps, endProps) => ( - - - to - - - )} - /> */} + { + let range = cloneDeep(dateRange) + range[0] = moment(e.target.value) + this.updateDateRange(range) + }} + /> + { + let range = cloneDeep(dateRange) + range[1] = moment(e.target.value) + this.updateDateRange(range) + }} + />