File tree Expand file tree Collapse file tree 4 files changed +17
-7
lines changed
src/components/WalletSelectorModal/WalletStepIntro Expand file tree Collapse file tree 4 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 1
- import { css } from "@emotion/react" ;
2
1
import { WalletKitProvider } from "@gokiprotocol/walletkit" ;
3
2
4
3
import { Body } from "./Body" ;
@@ -23,10 +22,6 @@ const App: React.FC = () => {
23
22
name : "My App" ,
24
23
icon : (
25
24
< img
26
- css = { css `
27
- width : 48px ;
28
- height : 48px ;
29
- ` }
30
25
src = "https://goki.so/assets/android-chrome-256x256.png"
31
26
alt = "icon"
32
27
/>
Original file line number Diff line number Diff line change 28
28
"@types/react-dom" : " 18.0.5" ,
29
29
"bn.js" : " ^5.2.1" ,
30
30
"react" : " ^18.1.0" ,
31
- "react-dom" : " ^18.1.0"
31
+ "react-dom" : " ^18.1.0" ,
32
+ "typescript" : " ^4.7.2"
32
33
},
33
34
"dependencies" : {
34
35
"@react-spring/web" : " ^9.4.5" ,
Original file line number Diff line number Diff line change
1
+ import { css } from "@emotion/react" ;
1
2
import styled from "@emotion/styled" ;
2
3
3
4
import { ButtonWithFooter } from "../ButtonWithFooter" ;
@@ -21,7 +22,19 @@ export const WalletStepIntro: React.FC<Props> = ({
21
22
< AppIcons >
22
23
< SolanaIcon />
23
24
< ConnectDots />
24
- { appIcon }
25
+ < div
26
+ css = { css `
27
+ width: 48px;
28
+ height: 48px;
29
+ & > img,
30
+ & > svg {
31
+ width: 100%;
32
+ height: 100%;
33
+ }
34
+ ` }
35
+ >
36
+ { appIcon }
37
+ </ div >
25
38
</ AppIcons >
26
39
</ AppIconsWrapper >
27
40
< Instruction >
Original file line number Diff line number Diff line change @@ -3785,6 +3785,7 @@ __metadata:
3785
3785
react-dom: "npm:^18.1.0"
3786
3786
react-use-gesture: "npm:^9.1.3"
3787
3787
tslib: "npm:^2.4.0"
3788
+ typescript: "npm:^4.7.2"
3788
3789
peerDependencies:
3789
3790
"@emotion/react": ^11
3790
3791
"@emotion/styled": ^11
You can’t perform that action at this time.
0 commit comments