Skip to content

Commit

Permalink
style: address comment to be consistent wtih camel case
Browse files Browse the repository at this point in the history
  • Loading branch information
hui-an-yang committed Dec 12, 2022
1 parent f9645be commit 124c5bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/taquito/src/operations/drain-delegate-operation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ export class DrainDelegateOperation extends Operation {
}

get operationResults() {
const DrainDelegateOp =
const drainDelegateOp =
Array.isArray(this.results) &&
(this.results.find(
(op) => op.kind === 'drain_delegate'
) as OperationContentsAndResultDrainDelegate);
const result =
DrainDelegateOp && DrainDelegateOp.metadata && DrainDelegateOp.metadata.balance_updates;
drainDelegateOp && drainDelegateOp.metadata && drainDelegateOp.metadata.balance_updates;
return result ? result : undefined;
}

Expand Down

0 comments on commit 124c5bf

Please sign in to comment.