Skip to content

Commit 8fa1238

Browse files
authoredMar 4, 2022
Merge pull request #247 from MyEtherWallet/update/mew-module
replace img with mew token container
2 parents dbfb48d + d82706e commit 8fa1238

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed
 

‎src/components/MewModule/MewModule.vue

+13-11
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
class="left-icon mr-2"
2525
v-if="showIcon(icon)"
2626
>
27-
<img
27+
<mew-token-container
2828
v-if="iconAlign.toLowerCase() === iconAlignments.left"
29-
:src="icon"
30-
height="50"
31-
alt="left icon"
32-
>
29+
:img="icon"
30+
size="large"
31+
alt="left icon"
32+
/>
3333
</div>
3434
<div class="d-flex flex-column">
3535
<span
@@ -53,12 +53,12 @@
5353
class="right-icon"
5454
v-if="showIcon(icon)"
5555
>
56-
<img
56+
<mew-token-container
5757
v-if="iconAlign.toLowerCase() === iconAlignments.right"
58-
:src="icon"
59-
height="50"
60-
alt="right icon"
61-
>
58+
:img="icon"
59+
size="large"
60+
alt="right icon"
61+
/>
6262
</div>
6363
<!--
6464
=====================================================================================
@@ -103,11 +103,13 @@
103103

104104
<script>
105105
import MewTooltip from '@/components/MewTooltip/MewTooltip.vue';
106+
import MewTokenContainer from '@/components/MewTokenContainer/MewTokenContainer.vue';
106107
107108
export default {
108109
name: 'MewModule',
109110
components: {
110-
MewTooltip
111+
MewTooltip,
112+
MewTokenContainer
111113
},
112114
data() {
113115
return {

0 commit comments

Comments
 (0)
Please sign in to comment.