refactor: move CustomAvatar to components
This commit is contained in:
parent
311b0eef6c
commit
da8e26d301
@ -1,6 +1,6 @@
|
||||
import PropTypes from 'prop-types';
|
||||
import defaultAvatar from './assets/avatar.svg';
|
||||
import { usePrimaryName } from './hooks/usePrimaryName';
|
||||
import defaultAvatar from '../assets/avatar.svg';
|
||||
import { usePrimaryName } from '../hooks/usePrimaryName';
|
||||
|
||||
export const CustomAvatar = ({ size }) => {
|
||||
const { avatar } = usePrimaryName();
|
@ -12,7 +12,7 @@ import {
|
||||
WALLET_CONNECT_APP_NAME,
|
||||
WALLET_CONNECT_PROJECT_ID,
|
||||
} from './constants.js';
|
||||
import { CustomAvatar } from './CustomAvatar.jsx';
|
||||
import { CustomAvatar } from './components/CustomAvatar.jsx';
|
||||
|
||||
import '@rainbow-me/rainbowkit/styles.css';
|
||||
import 'react-loading-skeleton/dist/skeleton.css';
|
||||
|
Loading…
Reference in New Issue
Block a user