Skip to content

Commit

Permalink
fix: Empty customization while signing up (#862)
Browse files Browse the repository at this point in the history
  • Loading branch information
chavda-bhavik authored Oct 25, 2024
2 parents 77a5e12 + 3db9f33 commit cee4bc1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class UpdateTemplateColumns {
{ _templateId },
'isRecordFormatUpdated isCombinedFormatUpdated'
);
if (!customization.isRecordFormatUpdated && !customization.isCombinedFormatUpdated) {
if (customization && !customization.isRecordFormatUpdated && !customization.isCombinedFormatUpdated) {
await this.updateCustomization.createOrReset(_templateId, {
recordVariables: this.listRecordVariables(userColumns),
destination: template.destination,
Expand Down
3 changes: 0 additions & 3 deletions apps/web/hooks/useProjectInvitationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ export function useProjectInvitationForm({ refetchInvitations }: UseProjectInvit
}),
{
enabled: !!profileInfo?._projectId,
onSuccess: (data) => {
console.log('API DATA', data);
},
}
);

Expand Down

0 comments on commit cee4bc1

Please sign in to comment.