fix: navaigating between profiles and edit button

This commit is contained in:
Udit Takkar
2021-11-01 12:43:55 +05:30
committed by Alec LaLonde
parent d164de09c5
commit bdabf657a5
2 changed files with 2 additions and 1 deletions

View File

@@ -66,7 +66,7 @@ export const PlayerHero: React.FC<Props> = ({ player, isOwnProfile }) => {
return (
<ProfileSection>
{true && (
{isOwnProfile && (
<Box pos="absolute" right={5} top={5}>
<IconButton
_focus={{

View File

@@ -332,6 +332,7 @@ export const getStaticProps = async (
return {
props: {
player: player || null, // must be serializable
key: username,
},
revalidate: 1,
};