1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-30 12:18:09 +00:00

moved lang attr to AppWrapper

This commit is contained in:
slowbackspace 2019-04-02 16:09:15 +02:00
parent 263e09dad1
commit 423970eec3
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html>
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <meta http-equiv="X-UA-Compatible" content="IE=Edge" />

View File

@ -110,7 +110,7 @@ const Body = styled.div`
`; `;
const Wallet = (props: Props) => ( const Wallet = (props: Props) => (
<AppWrapper> <AppWrapper lang={props.wallet.language}>
<Header <Header
sidebarEnabled={!!props.wallet.selectedDevice} sidebarEnabled={!!props.wallet.selectedDevice}
sidebarOpened={props.wallet.showSidebar} sidebarOpened={props.wallet.showSidebar}