Skip to content

Commit

Permalink
Fix #6033: Docs Sidebar Headless
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Feb 22, 2024
1 parent a2a2f11 commit 5c7bafe
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 5c7bafe

Please sign in to comment.