()
| 59 | queryClient.invalidateQueries(trpc.dashboard.list.pathFilter()); |
| 60 | |
| 61 | const goToReport = () => { |
| 62 | router.navigate({ |
| 63 | to: '/$organizationId/$projectId/reports/$reportId', |
| 64 | params: { |
| 65 | organizationId, |
| 66 | projectId, |
| 67 | reportId: res.id, |
| 68 | }, |
| 69 | search: searchParams, |
| 70 | }); |
| 71 | }; |
| 72 | |
| 73 | toast('Report created', { |
| 74 | description: `${res.name}`, |