mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-24 03:00:09 -04:00
fix: navaigating between profiles and edit button
This commit is contained in:
committed by
Alec LaLonde
parent
d164de09c5
commit
bdabf657a5
@@ -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={{
|
||||
|
||||
@@ -332,6 +332,7 @@ export const getStaticProps = async (
|
||||
return {
|
||||
props: {
|
||||
player: player || null, // must be serializable
|
||||
key: username,
|
||||
},
|
||||
revalidate: 1,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user