diff --git a/src/components/OfferHelp.js b/src/components/OfferHelp.js index 750143d..2fa76e8 100644 --- a/src/components/OfferHelp.js +++ b/src/components/OfferHelp.js @@ -26,7 +26,8 @@ export default function OfferHelp({ sessionProp, }) { const { towns } = useTowns(); - const session = sessionProp || useSession(); + const sessionProvider = useSession(); + const session = sessionProp || sessionProvider; const router = useRouter();