Skip to content

Commit ad1fd36

Browse files
committed
fix
1 parent 61f509a commit ad1fd36

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/app/photography/page.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const metadata: Metadata = {
99
description: "A collection of photography by myself.",
1010
};
1111

12-
export const getBase64 = async (src: ArrayBuffer, size: number) => {
12+
const getBase64 = async (src: ArrayBuffer, size: number) => {
1313
const { info, data } = await sharp(src)
1414
.resize(size)
1515
.blur()
@@ -47,8 +47,7 @@ async function getPhotos() {
4747
const cachedGetPhotos = unstable_cache(getPhotos)
4848

4949
export default async function PhotographyPage() {
50-
// const photos = await cachedGetPhotos()
51-
const photos = await getPhotos()
50+
const photos = await cachedGetPhotos()
5251
return (
5352
<div className="container mx-auto px-4 py-8">
5453
<h1 className="text-3xl font-bold mb-8 text-center">Photography</h1>

0 commit comments

Comments
 (0)