Skip to content

Commit

Permalink
Uplift of #20054 (squashed) to beta
Browse files Browse the repository at this point in the history
  • Loading branch information
brave-builds committed Sep 8, 2023
1 parent 0e6e662 commit a1f6032
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions components/brave_wallet_ui/panel/container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -349,17 +349,21 @@ function Container () {
)
}

if (isWalletLocked && !isPanelV2FeatureEnabled) {
return (
<PanelWrapper isLonger={false}>
if (isWalletLocked) {
return isPanelV2FeatureEnabled
? <BrowserRouter>
<PanelWrapper width={390} height={650}>
<PageContainer />
</PanelWrapper>
</BrowserRouter>
: <PanelWrapper isLonger={false}>
<StyledExtensionWrapper>
<LockPanel
onSubmit={unlockWallet}
onClickRestore={onRestore}
/>
</StyledExtensionWrapper>
</PanelWrapper>
)
}

if (selectedPanel === 'transactionStatus' && selectedTransactionId) {
Expand Down

0 comments on commit a1f6032

Please sign in to comment.