fix: notification not closing after click on ticket

This commit is contained in:
canove
2020-09-24 17:27:30 -03:00
parent 8125b36083
commit c58baf3470
2 changed files with 10 additions and 9 deletions

View File

@@ -79,6 +79,7 @@ const useTickets = ({ searchParam, pageNumber, status, date, showAll }) => {
useEffect(() => {
setLoading(true);
const delayDebounceFn = setTimeout(() => {
console.log(showAll);
const fetchTickets = async () => {
try {
const { data } = await api.get("/tickets", {