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.
2 parents d1c8e65 + 9e1cf91 commit 9bda07bCopy full SHA for 9bda07b
packages/react-notion-x/src/map-image-url.ts
@@ -47,7 +47,7 @@ export const defaultMapImageUrl = (
47
48
const notionImageUrlV2 = new URL(url)
49
let table = block.parent_table === 'space' ? 'block' : block.parent_table
50
- if (table === 'collection') {
+ if (table === 'collection' || table === 'team') {
51
table = 'block'
52
}
53
notionImageUrlV2.searchParams.set('table', table)
0 commit comments