We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fe3a70e + 2d6e21d commit 83b81ffCopy full SHA for 83b81ff
frontends/web/src/components/layout/header.tsx
@@ -20,16 +20,14 @@ export const Header = ({
20
}: Props) => {
21
const { t } = useTranslation();
22
23
- const { guideShown, guideExists, toggleGuide, toggleSidebar } = useContext(AppContext);
+ const { guideExists, toggleGuide, toggleSidebar } = useContext(AppContext);
24
25
const toggle = (e: React.SyntheticEvent) => {
26
e.preventDefault();
27
if (!guideExists) {
28
return false;
29
}
30
- if (!guideShown) {
31
- toggleGuide();
32
- }
+ toggleGuide();
33
34
};
35
0 commit comments