mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
Remove unnecessary div element in Catalog.js
This commit is contained in:
@@ -62,7 +62,6 @@ const Catalog = ({ toc }) => {
|
||||
|
||||
return <div id='catalog'>
|
||||
<div className='w-full dark:text-gray-300 mb-2'><i className='mr-1 fas fa-stream' />{locale.COMMON.TABLE_OF_CONTENTS}</div>
|
||||
<div >
|
||||
<nav ref={tRef} className='h-full overflow-y-auto overscroll-none scroll-hidden text-black'>
|
||||
{toc.map((tocItem) => {
|
||||
const id = uuidToId(tocItem.id)
|
||||
@@ -82,7 +81,6 @@ const Catalog = ({ toc }) => {
|
||||
)
|
||||
})}
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user