return h and w

This commit is contained in:
chair
2021-06-26 22:52:31 -04:00
committed by Hammad Jutt
parent 4c30224260
commit 830e2f1752

View File

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