Skip to content

Commit

Permalink
Update src/components/Collapsible/index.js
Browse files Browse the repository at this point in the history
Co-authored-by: rayangler <[email protected]>
  • Loading branch information
seungpark and rayangler authored Dec 20, 2024
1 parent 1745570 commit fd613d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Collapsible/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Collapsible = ({ nodeData: { children, options }, sectionDepth, ...rest })
}, [children]);

const [open, setOpen] = useState(() => {
if (isOfflineDocsBuild || expanded) return true;
if (isOfflineDocsBuild) return true;
return expanded ?? true;
});
const headingNodeData = {
Expand Down

0 comments on commit fd613d3

Please sign in to comment.