Skip to content

Commit

Permalink
revert code
Browse files Browse the repository at this point in the history
  • Loading branch information
albertfolch-redeemeum committed Mar 28, 2024
1 parent e243ac2 commit 0e749fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/redirect/RedirectToDocs.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -24,9 +24,9 @@ const Redirecting = styled.div`
`;

export const RedirectToDocs: React.FC = () => {
// useEffect(() => {
// window.location.href = widgetsPage;
// }, []);
useEffect(() => {
window.location.href = widgetsPage;
}, []);
return (
<div
style={{
Expand Down

0 comments on commit 0e749fc

Please sign in to comment.