Skip to content

Commit 664f676

Browse files
committed
Revert "chore: revert .path"
This reverts commit c0c5ac5.
1 parent 71200bc commit 664f676

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/schema-org/useSchemaOrg/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export function handleNodesCSR(client: SchemaOrgClient, input: Arrayable<UseSche
1818
() => client.options.provider.name === 'vitepress'
1919
// @ts-expect-error untyped
2020
? client.options.provider.useRoute().data.relativePath
21-
: client.options.provider.useRoute(),
21+
: client.options.provider.useRoute().path,
2222
() => {
2323
ctx = client.setupRouteContext(vm.uid)
2424

0 commit comments

Comments
 (0)