Remove extra call during creation

This commit is contained in:
Ian Philips 2022-07-29 16:15:42 -06:00
parent 75de3662f3
commit f894f74a13

View File

@ -242,10 +242,6 @@ export function NewContract(props: {
selectedGroup: selectedGroup?.id,
isFree: false,
})
if (result && selectedGroup) {
await addContractToGroup(selectedGroup, result.id, creator.id)
}
await router.push(contractPath(result as Contract))
} catch (e) {
console.error('error creating contract', e, (e as any).details)