mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +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 PropTypes from 'prop-types';
|
||||
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 {
|
||||
static contextTypes = {
|
||||
@ -11,7 +11,7 @@ export default class TokenListPlaceholder extends Component {
|
||||
render() {
|
||||
return (
|
||||
<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">
|
||||
{this.context.t('addAcquiredTokens')}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user