|
@@ -8,6 +8,8 @@ import useStored from "src/hooks/store/useStored";
|
|
import styled from "styled-components";
|
|
import styled from "styled-components";
|
|
import * as Styled from "./styles";
|
|
import * as Styled from "./styles";
|
|
|
|
|
|
|
|
+const inViewport = true;
|
|
|
|
+
|
|
const StyledExpand = styled.button`
|
|
const StyledExpand = styled.button`
|
|
pointer-events: all;
|
|
pointer-events: all;
|
|
position: absolute;
|
|
position: absolute;
|
|
@@ -39,7 +41,7 @@ const TextNode: React.FC<
|
|
y,
|
|
y,
|
|
}) => {
|
|
}) => {
|
|
const ref = React.useRef(null);
|
|
const ref = React.useRef(null);
|
|
- const { inViewport } = useInViewport(ref);
|
|
|
|
|
|
+ // const { inViewport } = useInViewport(ref);
|
|
const performanceMode = useConfig((state) => state.performanceMode);
|
|
const performanceMode = useConfig((state) => state.performanceMode);
|
|
|
|
|
|
const hideCollapse = useStored((state) => state.hideCollapse);
|
|
const hideCollapse = useStored((state) => state.hideCollapse);
|