Log out the run status

This commit is contained in:
Matt Aitken
2023-11-30 10:29:48 +00:00
parent 41a49f6bb2
commit 68cbfd8d23
@@ -5,6 +5,8 @@ import { useEventRunStatuses } from "@trigger.dev/react";
export function EventRunData({ id }: { id: string }) {
const { fetchStatus, error, statuses, run } = useEventRunStatuses(id);
console.log(run?.status);
if (fetchStatus === "loading") {
return <p>Loading...</p>;
}