fix gitbook

This commit is contained in:
tangly1024
2023-07-08 10:59:14 +08:00
parent 9be8820cff
commit c06e09d17a
4 changed files with 16 additions and 17 deletions

View File

@@ -8,7 +8,7 @@ import NavPostList from './NavPostList'
* @returns {JSX.Element}
* @constructor
*/
const PageNavDrawer = ({ post, cRef }) => {
const PageNavDrawer = (props) => {
const { pageNavVisible, changePageNavVisible, filterPosts } = useGitBookGlobal()
const switchVisible = () => {
changePageNavVisible(!pageNavVisible)