mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix imported component name and change size proptype type to string (#14237)
* Fix imported component name and change size proptype type to string * Change IconTokenSearch size prop back to number and change usage to number
This commit is contained in:
parent
e4bf3400bd
commit
2cd1472e3a
@ -1,7 +1,7 @@
|
|||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import Button from '../../../../components/ui/button';
|
import Button from '../../../../components/ui/button';
|
||||||
import IconSearch from '../../../../components/ui/icon/icon-token-search';
|
import IconTokenSearch from '../../../../components/ui/icon/icon-token-search';
|
||||||
|
|
||||||
export default class TokenListPlaceholder extends Component {
|
export default class TokenListPlaceholder extends Component {
|
||||||
static contextTypes = {
|
static contextTypes = {
|
||||||
@ -11,7 +11,7 @@ export default class TokenListPlaceholder extends Component {
|
|||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<div className="token-list-placeholder">
|
<div className="token-list-placeholder">
|
||||||
<IconSearch size="64" color="var(--color-icon-muted)" />
|
<IconTokenSearch size={64} color="var(--color-icon-muted)" />
|
||||||
<div className="token-list-placeholder__text">
|
<div className="token-list-placeholder__text">
|
||||||
{this.context.t('addAcquiredTokens')}
|
{this.context.t('addAcquiredTokens')}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user