We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c828a8d + 254529a commit af5274cCopy full SHA for af5274c
client/src/components/auth/HandleAuth.jsx
@@ -41,19 +41,6 @@ const HandleAuth = (props) => {
41
setIsLoaded(true);
42
}, [isMagicLinkValid, setIsLoaded, auth]);
43
44
- // const Delayed = ({ children, waitBeforeShow = 500 }) => {
45
- // const [isShown, setIsShown] = useState(false);
46
- // useEffect(() => {
47
- // const timer = setTimeout(() => {
48
- // setIsShown(true);
49
- // }, waitBeforeShow);
50
-
51
- // return () => clearTimeout(timer);
52
- // }, [waitBeforeShow]);
53
54
- // return isShown ? children : null;
55
- // };
56
57
useEffect(() => {
58
if (!isLoaded) {
59
const timer = setTimeout(() => {
0 commit comments