Skip to content

Commit

Permalink
wip 4
Browse files Browse the repository at this point in the history
  • Loading branch information
hdevalence committed Nov 21, 2024
1 parent f2066f7 commit fe658e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/Balances.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useBalances, useAddresses } from '@/components/hooks';
import type { AddressView } from '@penumbra-zone/protobuf/penumbra/core/keys/v1/keys_pb';
import { AddressView } from '@penumbra-zone/protobuf/penumbra/core/keys/v1/keys_pb';
import { ValueViewComponent } from '@penumbra-zone/ui/ValueViewComponent';
import { AddressViewComponent } from '@penumbra-zone/ui/AddressViewComponent';
import type React from 'react';
Expand All @@ -16,7 +16,7 @@ export function Balances() {

if (!filteredBalances?.length || !addresses?.length) return null;

const addressView: AddressView = {
const addressView = new AddressView({
addressView: {
case: 'decoded',
value: {
Expand All @@ -27,7 +27,7 @@ export function Balances() {
}
}
}
};
});

return (
<div className="p-4">
Expand Down

0 comments on commit fe658e5

Please sign in to comment.