import React from "react";
import Button from "@mui/material/Button";
import Card from "@mui/material/Card";
import dateFormat from "dateformat";
import { resultClassName } from "../util";
function ListItem(props) {
return (
{
if (window.getSelection().type !== "Range")
window.location = `/${props._id}`;
}}
>