Fix group page error

This commit is contained in:
James Grugett 2022-08-02 18:20:10 -07:00
parent 0f28fe3302
commit b8cdb6104d

View File

@ -153,7 +153,7 @@ export default function GroupPage(props: {
const user = useUser()
useSaveReferral(user, {
defaultReferrer: creator.username,
defaultReferrer: creator?.username,
groupId: group?.id,
})