Skip to content

Commit 088135c

Browse files
committed
Prettier
1 parent 8e53dc6 commit 088135c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/react-notion-x/src/third-party/collection.tsx

+3-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ function CollectionViewBlock({
8484
block: types.CollectionViewBlock | types.CollectionViewPageBlock
8585
className?: string
8686
}) {
87-
const { recordMap, pageWidth, showCollectionViewDropdown } = useNotionContext()
87+
const { recordMap, pageWidth, showCollectionViewDropdown } =
88+
useNotionContext()
8889
const { view_ids: viewIds } = block
8990
const collectionId = getBlockCollectionId(block, recordMap)!
9091

@@ -139,7 +140,7 @@ function CollectionViewBlock({
139140

140141
const width = windowWidth
141142
// TODO: customize for mobile?
142-
const maxNotionBodyWidth = pageWidth;
143+
const maxNotionBodyWidth = pageWidth
143144
let notionBodyWidth = maxNotionBodyWidth
144145

145146
if (parentPage?.format?.page_full_width) {

0 commit comments

Comments
 (0)