1
0
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:
Thomas Huang 2022-04-05 10:48:03 -07:00 committed by GitHub
parent e4bf3400bd
commit 2cd1472e3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>