Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
fix: Page missing og:image
Browse files Browse the repository at this point in the history
  • Loading branch information
SidStraw committed Nov 21, 2023
1 parent 0909d68 commit d3104b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/karbon/src/runtime/composables/seo.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { compact, first, identity, map, pathOr, pipe } from 'remeda'
import { compact, filter, first, identity, map, pathOr, pipe } from 'remeda'
import type { PartialDeep } from 'type-fest'
import type { MetaFlatInput } from '@zhead/schema'
import type { MaybeRefOrGetter } from '@vueuse/core'
Expand Down Expand Up @@ -41,6 +41,7 @@ function createFirstFound(paths: string[][]) {
paths,
map((p) => path(input, p)),
compact,
filter<string | undefined>(Boolean),
first(),
)
}
Expand Down

0 comments on commit d3104b8

Please sign in to comment.