(token: any)
| 34 | import { useUser } from "../../store/session"; |
| 35 | |
| 36 | async function getUserTickets(token: any) { |
| 37 | const res = await fetch(`/api/v1/tickets/user/open`, { |
| 38 | headers: { |
| 39 | Authorization: `Bearer ${token}`, |
| 40 | }, |
| 41 | }); |
| 42 | return res.json(); |
| 43 | } |
| 44 | |
| 45 | const FilterBadge = ({ |
| 46 | text, |