|
@@ -46,9 +46,10 @@ const PaliTextTocWidget = ({ book, para, channel, onSelect }: IWidget) => {
|
|
|
|
|
|
|
|
return (
|
|
return (
|
|
|
<TocTree
|
|
<TocTree
|
|
|
|
|
+ randomKey={false}
|
|
|
treeData={tocList}
|
|
treeData={tocList}
|
|
|
- expandedKeys={expandedKeys}
|
|
|
|
|
selectedKeys={selectedKeys}
|
|
selectedKeys={selectedKeys}
|
|
|
|
|
+ expandedKeys={expandedKeys}
|
|
|
onSelect={(selectedKeys: Key[]) => {
|
|
onSelect={(selectedKeys: Key[]) => {
|
|
|
if (typeof onSelect !== "undefined") {
|
|
if (typeof onSelect !== "undefined") {
|
|
|
onSelect(selectedKeys);
|
|
onSelect(selectedKeys);
|