diff --git a/src/routes/safe/components/Balances/AssetTableCell/AssetTableCell.js b/src/routes/safe/components/Balances/AssetTableCell/AssetTableCell.js index c30ec55b..905d7ad4 100644 --- a/src/routes/safe/components/Balances/AssetTableCell/AssetTableCell.js +++ b/src/routes/safe/components/Balances/AssetTableCell/AssetTableCell.js @@ -3,12 +3,7 @@ import * as React from 'react' import Block from '~/components/layout/Block' import Img from '~/components/layout/Img' import Paragraph from '~/components/layout/Paragraph' -import TokenPlaceholder from '../assets/token_placeholder.svg' - -const setImageToPlaceholder = (e) => { - e.target.onerror = null - e.target.src = TokenPlaceholder -} +import { setImageToPlaceholder } from '~/routes/safe/components/Balances/utils' type Props = { asset: {