Skip to content

Commit

Permalink
fix(frontend): replace getStaticPath with getServerSideProps (#3438)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionel authored Apr 14, 2021
1 parent 8a1db26 commit 849446b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/code-du-travail-frontend/pages/outils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const Outils = ({ cdtnSimulators, externalTools }) => (
</Layout>
);

export async function getStaticProps() {
export async function getServerSideProps() {
return {
props: getTools(),
};
Expand Down

0 comments on commit 849446b

Please sign in to comment.