From 0e749fc4f62023b393927600896ddff1d9424465 Mon Sep 17 00:00:00 2001 From: Albert Folch Date: Thu, 28 Mar 2024 15:02:43 +0100 Subject: [PATCH] revert code --- src/components/redirect/RedirectToDocs.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/redirect/RedirectToDocs.tsx b/src/components/redirect/RedirectToDocs.tsx index 7520558..160cac1 100644 --- a/src/components/redirect/RedirectToDocs.tsx +++ b/src/components/redirect/RedirectToDocs.tsx @@ -1,4 +1,4 @@ -import React from "react"; +import React, { useEffect } from "react"; import styled from "styled-components"; import { ReactComponent as BosonLogo } from "../../logo.svg"; @@ -24,9 +24,9 @@ const Redirecting = styled.div` `; export const RedirectToDocs: React.FC = () => { - // useEffect(() => { - // window.location.href = widgetsPage; - // }, []); + useEffect(() => { + window.location.href = widgetsPage; + }, []); return (