mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-01-24 21:58:04 -05:00
return h and w
This commit is contained in:
@@ -6,7 +6,6 @@ import { PersonalityOption } from 'graphql/types';
|
||||
import React, { useEffect } from 'react';
|
||||
import {
|
||||
getPlayerDescription,
|
||||
getPlayerImage,
|
||||
getPlayerName,
|
||||
} from 'utils/playerHelpers';
|
||||
|
||||
@@ -41,9 +40,9 @@ export const PlayerHero: React.FC<Props> = ({ player }) => {
|
||||
<ProfileSection>
|
||||
<VStack spacing={8}>
|
||||
<PlayerAvatar
|
||||
player={player}
|
||||
src={getPlayerImage(player)}
|
||||
name={getPlayerName(player)}
|
||||
w={{ base: 32, md: 56 }}
|
||||
h={{ base: 32, md: 56 }}
|
||||
{...{ player }}
|
||||
/>
|
||||
<Box textAlign="center">
|
||||
<Text fontSize="xl" fontFamily="heading" mb={1}>
|
||||
|
||||
Reference in New Issue
Block a user