From 05937c03b2f6b8fa4df93725e8ae759893c20ea4 Mon Sep 17 00:00:00 2001 From: carrick Date: Tue, 2 Jan 2024 07:59:28 +0900 Subject: [PATCH] feat: redirect setting page --- src/pages/SettingPage.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages/SettingPage.tsx b/src/pages/SettingPage.tsx index 49d7e976..000124f5 100644 --- a/src/pages/SettingPage.tsx +++ b/src/pages/SettingPage.tsx @@ -1,4 +1,4 @@ -import React from 'react'; +import React, { useEffect } from 'react'; import styled from 'styled-components'; import PageTemplate from '../components/base/PageTemplate'; import SettingUserProfileContainer from '../containers/setting/SettingUserProfileContainer'; @@ -9,6 +9,10 @@ import { Helmet } from 'react-helmet-async'; export type SettingPageProps = {}; function SettingPage(props: SettingPageProps) { + useEffect(() => { + window.location.href = `${process.env.REACT_APP_CLIENT_V3_HOST!}/setting`; + }, []); + return (