From 9d80a03018e02c7a49be5ef31b58b49f00335c9c Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Fri, 11 Dec 2020 20:37:48 -0800 Subject: [PATCH] Change URLS: --- packages/webapp/src/app.tsx | 12 ++++++------ packages/webapp/src/components/header/index.tsx | 6 +++--- packages/webapp/src/components/login-page/index.tsx | 2 +- .../src/components/registration-page/index.tsx | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/webapp/src/app.tsx b/packages/webapp/src/app.tsx index 4f559a57..9f22ab36 100644 --- a/packages/webapp/src/app.tsx +++ b/packages/webapp/src/app.tsx @@ -54,17 +54,17 @@ const App = () => { - + - - + + - - + + - + diff --git a/packages/webapp/src/components/header/index.tsx b/packages/webapp/src/components/header/index.tsx index 54d678fb..d61d7159 100644 --- a/packages/webapp/src/components/header/index.tsx +++ b/packages/webapp/src/components/header/index.tsx @@ -38,7 +38,7 @@ class Header extends React.Component { return ( - logo + logo {text} {signUpButton} {signInButton} @@ -57,7 +57,7 @@ const SignInButton = (props: ButtonProps) => { const style = props.style ? props.style : 'style1'; return ( - + ); } @@ -65,7 +65,7 @@ const SignUpButton = (props: ButtonProps) => { const style = props.style ? props.style : 'style1'; return ( - + ); } diff --git a/packages/webapp/src/components/login-page/index.tsx b/packages/webapp/src/components/login-page/index.tsx index 1a1061af..04214360 100644 --- a/packages/webapp/src/components/login-page/index.tsx +++ b/packages/webapp/src/components/login-page/index.tsx @@ -69,7 +69,7 @@ const LoginPage = () => { - + diff --git a/packages/webapp/src/components/registration-page/index.tsx b/packages/webapp/src/components/registration-page/index.tsx index 5f8cd142..132400fd 100644 --- a/packages/webapp/src/components/registration-page/index.tsx +++ b/packages/webapp/src/components/registration-page/index.tsx @@ -41,7 +41,7 @@ const RegistrationForm = (props: ServiceProps) => { // Call Service ... props.service.registerNewUser( user, - () => history.push("/c/view/registration-success"), + () => history.push("/c/registration-success"), (msg) => { setErrorMsg(msg); setDisableButton(false); } ); }