Skip to content

Commit 4413ec9

Browse files
committed
proper ImageObject import in index.tsx
1 parent 93b1ace commit 4413ec9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/routes/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import type {
77
Graph,
88
WebPage,
99
ContactPoint,
10+
ImageObject,
1011
} from 'schema-dts';
1112

1213
import {
@@ -122,7 +123,7 @@ export const WEBSITE: WebSite = {
122123
export const meta: MetaFunction = () => {
123124
const ogImage = 'piotr.jpg';
124125
const size = getImageSize(`${LOCAL_OG_IMAGES_DIRECTORY}${ogImage}`);
125-
const portrait: import('schema-dts').ImageObject = {
126+
const portrait: ImageObject = {
126127
'@type': 'ImageObject',
127128
'@id': PIOTR_IMAGE_ID,
128129
contentUrl: `${PRODUCTION_OG_IMAGES_DIRECTORY}${ogImage}`,

0 commit comments

Comments
 (0)