Skip to content

Commit

Permalink
feat: remove redundant ternary
Browse files Browse the repository at this point in the history
  • Loading branch information
rumzledz authored and jakubcolony committed Jun 25, 2024
1 parent c4711ec commit c1c4dbd
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ export default async (

await createMotionInDB(colonyAddress, event, {
type: motionNameMapping[name],
fromDomainId: colonyAddress
? getDomainDatabaseId(colonyAddress, domainId)
: undefined,
fromDomainId: getDomainDatabaseId(colonyAddress, domainId),
gasEstimate: gasEstimate.toString(),
streamingPaymentId: getExpenditureDatabaseId(
colonyAddress,
Expand Down

0 comments on commit c1c4dbd

Please sign in to comment.