diff --git a/pages/t/[team].tsx b/pages/t/[team].tsx index 7b3c460b2..d19907c36 100644 --- a/pages/t/[team].tsx +++ b/pages/t/[team].tsx @@ -305,6 +305,7 @@ export const getStaticProps: GetStaticProps = async ({ params }) => { props: { team, }, + revalidate: 1, }; }; diff --git a/pages/t/index.tsx b/pages/t/index.tsx index c016913bd..6defca446 100644 --- a/pages/t/index.tsx +++ b/pages/t/index.tsx @@ -129,7 +129,9 @@ const TeamsPage: React.FC = ({ teams }) => { {team.teamXP > 2000 && ( - {team.teamXP.toFixed(1)} + + {team.teamXP.toFixed(1).replace(".0", "")} + )} {team.recruitingPost && (