Skip to content

Commit

Permalink
revalidate find-wallet page daily
Browse files Browse the repository at this point in the history
  • Loading branch information
pettinarip committed Jun 11, 2024
1 parent d70c495 commit afe1466
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/wallets/find-wallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import {
} from "@/lib/utils/wallets"

import {
BASE_TIME_UNIT,
DEFAULT_LOCALE,
NAV_BAR_PX_HEIGHT,
WALLETS_FILTERS_DEFAULT,
Expand Down Expand Up @@ -81,6 +82,8 @@ export const getStaticProps = (async ({ locale }) => {
lastDeployDate,
wallets,
},
// Updated once a day
revalidate: BASE_TIME_UNIT * 24,
}
}) satisfies GetStaticProps<Props>

Expand Down

0 comments on commit afe1466

Please sign in to comment.