Skip to content

Commit

Permalink
linting rule
Browse files Browse the repository at this point in the history
  • Loading branch information
TalDerei committed Dec 22, 2024
1 parent 2e58a15 commit 8712343
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/services/src/view-service/util/transaction-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ import { getTransmissionKeyByAddress } from '@penumbra-zone/wasm/keys';
// transparent form to ensure the proper data is being displayed.
export const txvTranslator = (view: TransactionView): TransactionView => {
// 'Ics20Withdrawal' action view
if (!view.bodyView) return view;
if (!view.bodyView) {
return view;
}

const withdrawalAction = view.bodyView.actionViews.find(
action => action.actionView.case === 'ics20Withdrawal',
Expand Down

0 comments on commit 8712343

Please sign in to comment.