feat: reopen same ticket when last ticket < 2h

This commit is contained in:
canove
2020-07-30 09:38:00 -03:00
parent b5599ce054
commit 83491b5882
3 changed files with 27 additions and 3 deletions

View File

@@ -221,7 +221,7 @@ const MessagesList = () => {
const classes = useStyles();
const token = localStorage.getItem("token");
const userId = localStorage.getItem("userId");
const userId = +localStorage.getItem("userId");
const [loading, setLoading] = useState(true);
const [contact, setContact] = useState({});