fix: get locale from page connection

This commit is contained in:
Christel Westerberg
2024-02-12 13:20:32 +01:00
parent 9ed73457f8
commit 1ba9672240
7 changed files with 20 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
import type { Edges } from "../utils/edges"
import type { ExternalLink } from "../utils/externalLink"
import type { TempPageLink } from "../utils/tempPageLink"
import type { PageLink } from "../utils/pageLink"
import { Typename } from "../utils/typename"
@@ -36,7 +36,7 @@ type InternalLinkListItem = Typename<
link_text?: string
list_item_style: ListItemStyle
subtitle?: string
pageConnection: Edges<ExternalLink | PageLink>
pageConnection: Edges<TempPageLink | PageLink>
}
},
BlockListItemsEnum.CurrentBlocksPageBlocksListBlockListItemsListItemInternalLink