We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5e705b commit 6407073Copy full SHA for 6407073
1 file changed
src/pages/home/Home.tsx
@@ -16,11 +16,6 @@ export default function Home() {
16
setIsVisible(true);
17
};
18
19
- const handleClose = () => {
20
- setIsVisible(false);
21
- zoomOutRef.current?.();
22
- };
23
-
24
useEffect(() => {
25
if (!canvasRef.current) return;
26
const { zoomOut } = main(canvasRef.current, handleOpen);
@@ -34,9 +29,7 @@ export default function Home() {
34
29
<h1>glorpython</h1>
35
30
</div>
36
31
</header>
37
- <button className="ml-5 mt-5 absolute border-4 rounded-3xl p-5" onClick={handleOpen} disabled={isVisible}>
38
- Glorp
39
- </button>
32
+
40
33
<section className="relative w-full h-screen">
41
{isVisible && (
42
0 commit comments