- {title}
+ const [showGuide, setShowGuide] = useState(!localStorage.getItem(FEATURE_KEYS.NOTES));
+ useEffect(() => {
+ if (!showGuide) {
+ return;
+ }
+ Player.pause();
+ }, []);
+
+ const onClick = () => {
+ setShowGuide(false);
+ localStorage.setItem(FEATURE_KEYS.NOTES, 'true');
+ };
+
+ return showGuide ? (
+
+
+
+ {title}
+ {description}
+
-
- {description}
+ }
+ open={true}
+ >
+
- }
- // distance={30}
- // theme={'light'}
- open={true}
- // arrow={true}
- >
- {children}
-
+
+
+ ) : (
+ children
);
}
diff --git a/frontend/app/components/shared/XRayButton/XRayButton.tsx b/frontend/app/components/shared/XRayButton/XRayButton.tsx
index 6a2a73dd7..98368da21 100644
--- a/frontend/app/components/shared/XRayButton/XRayButton.tsx
+++ b/frontend/app/components/shared/XRayButton/XRayButton.tsx
@@ -39,10 +39,10 @@ function XRayButton(props: Props) {
)}
{showGuide ? (
- Introducing X-Ray>}
- description={"Get a quick overview on the issues in this session."}
- >
+ // Introducing X-Ray
}
+ // description={"Get a quick overview on the issues in this session."}
+ // >
-
-
+ //
+ //
) : (