()
| 13 | const session = useSession(); |
| 14 | |
| 15 | const handleClick = async () => { |
| 16 | // @ts-ignore |
| 17 | const res = await refreshDb({ userId: session.data.user.id }); |
| 18 | if (res.error) { |
| 19 | toast.error(res.message); |
| 20 | } else { |
| 21 | toast.info(res.message); |
| 22 | } |
| 23 | }; |
| 24 | const router = useRouter(); |
| 25 | return ( |
| 26 | <section className="grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3"> |
nothing calls this directly
no test coverage detected