From 95173ca85440ac2d68ac1e68440b31f77c3f7778 Mon Sep 17 00:00:00 2001 From: giannacastr <62898067+giannacastr@users.noreply.github.com> Date: Mon, 13 Apr 2026 22:48:38 -0400 Subject: [PATCH 1/2] working page redirection --- src/app/donorOffers/[donorOfferId]/page.tsx | 2 +- src/components/Tutorial.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/donorOffers/[donorOfferId]/page.tsx b/src/app/donorOffers/[donorOfferId]/page.tsx index fa8b84f3..5f9fc917 100644 --- a/src/app/donorOffers/[donorOfferId]/page.tsx +++ b/src/app/donorOffers/[donorOfferId]/page.tsx @@ -20,7 +20,7 @@ export default function DonorOfferDetailsPage() { // Partners should use the unified items screen at /items instead if (isPartner(session.user.type)) { - redirect("/"); + redirect("/items"); } const { data, isLoading } = useFetch<{ diff --git a/src/components/Tutorial.tsx b/src/components/Tutorial.tsx index acb6b1fb..b5ff81c0 100644 --- a/src/components/Tutorial.tsx +++ b/src/components/Tutorial.tsx @@ -1,5 +1,6 @@ import { useCallback, useEffect, useMemo, useRef, useState } from "react"; -import Joyride, { +import { + Joyride, Step, CallBackProps, STATUS, From 6e1b23a9a5d95938525cfed1c94317af53737676 Mon Sep 17 00:00:00 2001 From: Nathan Dong <80831405+ND68@users.noreply.github.com> Date: Mon, 13 Apr 2026 23:17:10 -0400 Subject: [PATCH 2/2] Update Tutorial.tsx --- src/components/Tutorial.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Tutorial.tsx b/src/components/Tutorial.tsx index b5ff81c0..acb6b1fb 100644 --- a/src/components/Tutorial.tsx +++ b/src/components/Tutorial.tsx @@ -1,6 +1,5 @@ import { useCallback, useEffect, useMemo, useRef, useState } from "react"; -import { - Joyride, +import Joyride, { Step, CallBackProps, STATUS,