Commit 088135c 1 parent 8e53dc6 commit 088135c Copy full SHA for 088135c
File tree 1 file changed +3
-2
lines changed
packages/react-notion-x/src/third-party
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,8 @@ function CollectionViewBlock({
84
84
block : types . CollectionViewBlock | types . CollectionViewPageBlock
85
85
className ?: string
86
86
} ) {
87
- const { recordMap, pageWidth, showCollectionViewDropdown } = useNotionContext ( )
87
+ const { recordMap, pageWidth, showCollectionViewDropdown } =
88
+ useNotionContext ( )
88
89
const { view_ids : viewIds } = block
89
90
const collectionId = getBlockCollectionId ( block , recordMap ) !
90
91
@@ -139,7 +140,7 @@ function CollectionViewBlock({
139
140
140
141
const width = windowWidth
141
142
// TODO: customize for mobile?
142
- const maxNotionBodyWidth = pageWidth ;
143
+ const maxNotionBodyWidth = pageWidth
143
144
let notionBodyWidth = maxNotionBodyWidth
144
145
145
146
if ( parentPage ?. format ?. page_full_width ) {
You can’t perform that action at this time.
0 commit comments