Browse Source

:bug: 目录风格改变时跳转到圣典栏目 #1108

visuddhinanda 3 years ago
parent
commit
351c4e485f
1 changed files with 0 additions and 3 deletions
  1. 0 3
      dashboard/src/pages/library/community/list.tsx

+ 0 - 3
dashboard/src/pages/library/community/list.tsx

@@ -27,9 +27,6 @@ const Widget = () => {
           <div style={{ height: "100vh", overflowY: "auto" }}>
           <div style={{ height: "100vh", overflowY: "auto" }}>
             <BookTree
             <BookTree
               multiSelectable={false}
               multiSelectable={false}
-              onRootChange={(root: string) =>
-                navigate("/palicanon/list/" + root)
-              }
               onChange={(key: string[], path: string[]) => {
               onChange={(key: string[], path: string[]) => {
                 if (key.length > 0) {
                 if (key.length > 0) {
                   setTags(key[0].split(","));
                   setTags(key[0].split(","));