= async () =>
Axios.post(ROUTES.REFRESH, null, {
headers: {
diff --git a/src/components/NavBar.tsx b/src/components/NavBar.tsx
index 8134fef..f0b9cb9 100644
--- a/src/components/NavBar.tsx
+++ b/src/components/NavBar.tsx
@@ -20,6 +20,8 @@ const NavBar: React.FC = () => {
return '4';
case '/signup':
return '5';
+ case '/settings':
+ return '6';
default:
return '1';
}
@@ -72,6 +74,14 @@ const NavBar: React.FC = () => {
>
Sign Up
+ {
+ history.push('/settings');
+ }}
+ >
+ Settings
+
);
diff --git a/src/containers/home/Home.tsx b/src/containers/home/Home.tsx
index 32dd3c4..38dc41d 100644
--- a/src/containers/home/Home.tsx
+++ b/src/containers/home/Home.tsx
@@ -1,6 +1,5 @@
import React from 'react';
import { Helmet } from 'react-helmet';
-import './home.less';
import { Button, Form, Input, Typography } from 'antd';
import { login } from '../../auth/authAPI';
const { Title } = Typography;
diff --git a/src/containers/home/home.less b/src/containers/home/home.less
deleted file mode 100644
index e69de29..0000000
diff --git a/src/containers/login/Login.tsx b/src/containers/login/Login.tsx
index c25701e..89e7bb5 100644
--- a/src/containers/login/Login.tsx
+++ b/src/containers/login/Login.tsx
@@ -1,6 +1,5 @@
import React from 'react';
import { Helmet } from 'react-helmet';
-import './login.less';
import { Button, Form, Input, Typography } from 'antd';
import { login } from '../../auth/authAPI';
import { Link } from 'react-router-dom';
diff --git a/src/containers/login/login.less b/src/containers/login/login.less
deleted file mode 100644
index e69de29..0000000
diff --git a/src/containers/not-found/NotFound.tsx b/src/containers/not-found/NotFound.tsx
index 47b169f..b4660b0 100644
--- a/src/containers/not-found/NotFound.tsx
+++ b/src/containers/not-found/NotFound.tsx
@@ -2,7 +2,6 @@ import React from 'react';
import { Helmet } from 'react-helmet';
import { Link } from 'react-router-dom';
import { Typography } from 'antd';
-import './not-found.less';
const { Title } = Typography;
/*
diff --git a/src/containers/not-found/not-found.less b/src/containers/not-found/not-found.less
deleted file mode 100644
index e69de29..0000000
diff --git a/src/containers/settings/Settings.tsx b/src/containers/settings/Settings.tsx
new file mode 100644
index 0000000..ca121cc
--- /dev/null
+++ b/src/containers/settings/Settings.tsx
@@ -0,0 +1,32 @@
+import React from 'react';
+import { Helmet } from 'react-helmet';
+import { Button, Form, Typography } from 'antd';
+import { deleteAccount } from '../../auth/authAPI';
+const { Title } = Typography;
+
+const Settings: React.FC = () => {
+ const onFinish = () => {
+ deleteAccount();
+ };
+
+ return (
+ <>
+
+ Settings
+
+
+
+
Settings
+
+
+
+
+
+ >
+ );
+};
+
+export default Settings;
diff --git a/src/containers/signup/Signup.tsx b/src/containers/signup/Signup.tsx
index 4f05e00..ebe9968 100644
--- a/src/containers/signup/Signup.tsx
+++ b/src/containers/signup/Signup.tsx
@@ -1,6 +1,5 @@
import React from 'react';
import { Helmet } from 'react-helmet';
-import './signup.less';
import { Button, Form, Input, Typography } from 'antd';
import { signup } from '../../auth/authAPI';
import { Link } from 'react-router-dom';
diff --git a/src/containers/signup/signup.less b/src/containers/signup/signup.less
deleted file mode 100644
index e69de29..0000000
diff --git a/src/containers/template-1-col-block/Template.tsx b/src/containers/template-1-col-block/Template.tsx
index 8779427..080ccf1 100644
--- a/src/containers/template-1-col-block/Template.tsx
+++ b/src/containers/template-1-col-block/Template.tsx
@@ -1,6 +1,5 @@
import React from 'react';
import { Helmet } from 'react-helmet';
-import './template.less';
import { Typography } from 'antd';
import { Link } from 'react-router-dom';
diff --git a/src/containers/template-1-col-block/template.less b/src/containers/template-1-col-block/template.less
deleted file mode 100644
index e69de29..0000000