Skip to content

Commit

Permalink
Merge pull request #6034 from melloware/PR6033
Browse files Browse the repository at this point in the history
Fix #6033: Docs Sidebar Headless
  • Loading branch information
nitrogenous authored Mar 14, 2024
2 parents 34f7868 + 5c7bafe commit 5fbedb1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions components/doc/sidebar/headlessdoc.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { DocSectionCode } from '@/components/doc/common/docsectioncode';
import { DocSectionText } from '@/components/doc/common/docsectiontext';
import { Button } from '@/components/lib/button/Button';
import { Sidebar } from '@/components/lib/sidebar/Sidebar';
import { Avatar } from '@/components/lib/avatar/Avatar';
import { Button } from '@/components/lib/button/Button';
import { Ripple } from '@/components/lib/ripple/Ripple';
import { useState, useRef } from 'react';
import { Sidebar } from '@/components/lib/sidebar/Sidebar';
import { StyleClass } from '@/components/lib/styleclass/StyleClass';
import { useRef, useState } from 'react';

export function HeadlessDoc(props) {
const [visible, setVisible] = useState(false);
Expand Down Expand Up @@ -207,7 +207,6 @@ export default function HeadlessDemo() {
const btnRef2 = useRef(null);
const btnRef3 = useRef(null);
const btnRef4 = useRef(null);
const [visible, setVisible] = useState(false);
return (
<div className="card flex justify-content-center">
Expand Down

0 comments on commit 5fbedb1

Please sign in to comment.