Skip to content

Commit 5e996e2

Browse files
authored
Merge pull request #545 from mwskwong/canary
Canary
2 parents 4ac036e + 90747e0 commit 5e996e2

File tree

3 files changed

+35
-35
lines changed

3 files changed

+35
-35
lines changed

package-lock.json

+31-31
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@vercel/analytics": "^1.5.0",
2222
"@vercel/speed-insights": "^1.2.0",
2323
"clsx": "^2.1.1",
24-
"contentful": "^11.4.6",
24+
"contentful": "^11.5.0",
2525
"dedent": "^1.5.3",
2626
"dotenv": "^16.4.7",
2727
"drizzle-orm": "^0.39.3",
@@ -45,8 +45,8 @@
4545
"@next/eslint-plugin-next": "^15.1.7",
4646
"@total-typescript/ts-reset": "^0.6.1",
4747
"@types/node": "^22.13.4",
48-
"@types/react": "^19.0.8",
49-
"@types/react-dom": "^19.0.3",
48+
"@types/react": "^19.0.10",
49+
"@types/react-dom": "^19.0.4",
5050
"autoprefixer": "^10.4.20",
5151
"babel-plugin-react-compiler": "latest",
5252
"drizzle-kit": "^0.30.4",

src/lib/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ export const dateFormatter = new Intl.DateTimeFormat("en", {
1010

1111
export const cache: typeof nextCache = (callback, keyParts, options) =>
1212
reactCache(
13-
nextCache(callback, keyParts, { revalidate: 60 * 60, ...options }),
13+
nextCache(callback, keyParts, { revalidate: 5 * 60, ...options }), // simulate "use cache" default behavior
1414
);

0 commit comments

Comments
 (0)