Skip to content

Commit

Permalink
fix: dynamic component rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
kvhnuke committed Jan 10, 2024
1 parent 1ef2ab5 commit dc9b984
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/extension/src/ui/action/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
<transition :name="transitionName" mode="out-in">
<component
:is="Component"
:key="$route.fullPath"
:network="currentNetwork"
:account-info="accountHeaderData"
@update:init="init"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const sendLayouts: Record<ProviderName, any> = {
[ProviderName.bitcoin]: SendTransactionBTC,
[ProviderName.enkrypt]: null,
};
const layout = shallowRef();
const route = useRoute();
const networkName: string = route.params.id as string;
Expand Down

1 comment on commit dc9b984

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.