Skip to content

Commit

Permalink
aggregated all the help pages into one page but missing animations
Browse files Browse the repository at this point in the history
  • Loading branch information
HelloSniperMonkey committed Dec 16, 2024
1 parent 01a3502 commit 0033df9
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/components/Header/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,10 @@ const Header = ({onUpdate,refreshKey}) => {
setLocalStorage("currentGroup", e.target.innerText);
setCurrentGroup(e.target.innerText);
};
const handleExpand = () => {
// setIsExpanded(refreshKey.refreshKey%2===1);
const handleExpand = async() => {
// await new Promise(r => setTimeout(r, 1000));
if(onUpdate) onUpdate();
};
useEffect(() => {
// setIsExpanded(refreshKey.refreshKey%2===1);
}, []);
return (
<>
<Navbar
Expand Down Expand Up @@ -346,10 +343,10 @@ const Header = ({onUpdate,refreshKey}) => {
</Dropdown>
{/* Help Pages */}
<Dropdown drop="left">
<Dropdown.Toggle variant="link" bsPrefix="p-0">
<Dropdown.Toggle variant="link" bsPrefix="p-0" as={Link} to={routes.help.access}>
<QuestionCircleFill color="#fff" size={40} className="m-2" />
</Dropdown.Toggle>
<Dropdown.Menu>
{/* <Dropdown.Menu>
<Dropdown.Item as={Link} to={routes.help.access}>
Help
</Dropdown.Item>
Expand All @@ -372,7 +369,7 @@ const Header = ({onUpdate,refreshKey}) => {
<Dropdown.Item as={Link} to={routes.help.thirdPartyLicenses}>
Third Party Licenses
</Dropdown.Item>
</Dropdown.Menu>
</Dropdown.Menu> */}
</Dropdown>

{/* User Info */}
Expand Down

0 comments on commit 0033df9

Please sign in to comment.