Skip to content

Commit

Permalink
fix: items
Browse files Browse the repository at this point in the history
  • Loading branch information
scopsy committed Dec 18, 2024
1 parent a808a62 commit 1d862f8
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,6 @@ export function useIntegrationPrimaryModal({

try {
if (newPrimaryIntegrationId && setPrimaryIntegration) {
await onSubmit(
{
...pendingData,
primary: false,
},
true
);

await setPrimaryIntegration({ integrationId: newPrimaryIntegrationId });
} else {
await onSubmit(pendingData, true);
Expand Down

0 comments on commit 1d862f8

Please sign in to comment.