File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff 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() {
4747const cachedGetPhotos = unstable_cache ( getPhotos )
4848
4949export 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 >
You can’t perform that action at this time.
0 commit comments