Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
alaycock committed Jan 13, 2025
1 parent 8e53dc6 commit 088135c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/react-notion-x/src/third-party/collection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ function CollectionViewBlock({
block: types.CollectionViewBlock | types.CollectionViewPageBlock
className?: string
}) {
const { recordMap, pageWidth, showCollectionViewDropdown } = useNotionContext()
const { recordMap, pageWidth, showCollectionViewDropdown } =
useNotionContext()
const { view_ids: viewIds } = block
const collectionId = getBlockCollectionId(block, recordMap)!

Expand Down Expand Up @@ -139,7 +140,7 @@ function CollectionViewBlock({

const width = windowWidth
// TODO: customize for mobile?
const maxNotionBodyWidth = pageWidth;
const maxNotionBodyWidth = pageWidth
let notionBodyWidth = maxNotionBodyWidth

if (parentPage?.format?.page_full_width) {
Expand Down

0 comments on commit 088135c

Please sign in to comment.