mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-01 07:37:55 -05:00
team page revalidate
This commit is contained in:
@@ -305,6 +305,7 @@ export const getStaticProps: GetStaticProps<Props> = async ({ params }) => {
|
||||
props: {
|
||||
team,
|
||||
},
|
||||
revalidate: 1,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -129,7 +129,9 @@ const TeamsPage: React.FC<Props> = ({ teams }) => {
|
||||
{team.teamXP > 2000 && (
|
||||
<Flex align="center" mt={2}>
|
||||
<Image src={`/layout/xsearch.png`} height={24} width={24} />
|
||||
<SubText ml={1}>{team.teamXP.toFixed(1)}</SubText>
|
||||
<SubText ml={1}>
|
||||
{team.teamXP.toFixed(1).replace(".0", "")}
|
||||
</SubText>
|
||||
</Flex>
|
||||
)}
|
||||
{team.recruitingPost && (
|
||||
|
||||
Reference in New Issue
Block a user