Skip to content

Commit 4cf0129

Browse files
committed
fix: add redirect for setting page
1 parent 208468d commit 4cf0129

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/pages/SettingPage.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react';
1+
import React, { useEffect } from 'react';
22
import styled from 'styled-components';
33
import PageTemplate from '../components/base/PageTemplate';
44
import SettingUserProfileContainer from '../containers/setting/SettingUserProfileContainer';
@@ -9,6 +9,9 @@ import { Helmet } from 'react-helmet-async';
99
export type SettingPageProps = {};
1010

1111
function SettingPage(props: SettingPageProps) {
12+
useEffect(() => {
13+
window.location.href = `${process.env.REACT_APP_CLIENT_V3_HOST!}/setting`;
14+
}, []);
1215
return (
1316
<SettingTemplate>
1417
<Helmet>

0 commit comments

Comments
 (0)