()
| 461 | } |
| 462 | |
| 463 | export function useRecentVisit() { |
| 464 | useOptionalCurrentUser(); |
| 465 | const recordRecentVisit = useAppStore((state) => state.recordRecentVisit); |
| 466 | const removeRecentVisit = useAppStore((state) => state.removeRecentVisit); |
| 467 | return { |
| 468 | record: recordRecentVisit, |
| 469 | remove: removeRecentVisit, |
| 470 | }; |
| 471 | } |
| 472 | |
| 473 | export function useNotify() { |
| 474 | return useAppStore((state) => state.notify); |
no test coverage detected