We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80fe125 commit 3473a7cCopy full SHA for 3473a7c
website/app/utils/index.ts
@@ -38,7 +38,7 @@ export function hash(value: string): string {
38
}
39
40
export function getSocialImage(data?: DocumentationLoader): string {
41
- if (!data?.config.socialPreview || !data) {
+ if (!data?.config?.socialPreview) {
42
return 'https://raw.githubusercontent.com/invertase/docs.page/main/docs/assets/docs-page-social.png';
43
44
0 commit comments