Skip to content

Commit

Permalink
refactor: remove async function in opengraph.tsx file
Browse files Browse the repository at this point in the history
  • Loading branch information
khj0426 committed Jun 13, 2024
1 parent 17c4ca7 commit e145ae6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/(root)/(routes)/notion/resume/opengraph-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export const size = {

export const contentType = 'image/png';

export default async function Image() {
export default function Image() {
const imageURL = decodeURIComponent(
`${getCurrentBasePath()}/images/Profile.jpg`
);

const getResizedImage = await convertRemoteImageToBase64(imageURL, 350, 350);
const getResizedImage = convertRemoteImageToBase64(imageURL, 350, 350);

return new ImageResponse(
(
Expand Down

0 comments on commit e145ae6

Please sign in to comment.