diff --git a/apps/potlock/widget/Project/CreateForm.jsx b/apps/potlock/widget/Project/CreateForm.jsx index 22f791a..dc7bbf6 100644 --- a/apps/potlock/widget/Project/CreateForm.jsx +++ b/apps/potlock/widget/Project/CreateForm.jsx @@ -1000,9 +1000,11 @@ return ( type: "primary", text: "View your project", disabled: false, - href: props.hrefWithParams( - `?tab=project&projectId=${registeredProject?.id || context.accountId}` - ), + href: + props.hrefWithParams && + props.hrefWithParams( + `?tab=project&projectId=${registeredProject?.id || context.accountId}` + ), }} />