diff --git a/src/EducationTrail/ClientApp/src/layouts/HomeLayout.tsx b/src/EducationTrail/ClientApp/src/layouts/HomeLayout.tsx index 7878829..8b944b7 100644 --- a/src/EducationTrail/ClientApp/src/layouts/HomeLayout.tsx +++ b/src/EducationTrail/ClientApp/src/layouts/HomeLayout.tsx @@ -13,9 +13,7 @@ class HomeLayout extends Component { return (
-
{this.props.children} -
); diff --git a/src/EducationTrail/ClientApp/src/pages/counter.tsx b/src/EducationTrail/ClientApp/src/pages/counter.tsx index 04085e8..5afaf1e 100644 --- a/src/EducationTrail/ClientApp/src/pages/counter.tsx +++ b/src/EducationTrail/ClientApp/src/pages/counter.tsx @@ -16,7 +16,7 @@ export class Counter extends Component<{}, CounterState> { } componentDidMount() { - document.title = Counter.name + " - Education Trail"; + document.title = "Counter - Education Trail"; } incrementCounter() { diff --git a/src/EducationTrail/ClientApp/src/pages/index.tsx b/src/EducationTrail/ClientApp/src/pages/index.tsx index 05f60f4..d54698e 100644 --- a/src/EducationTrail/ClientApp/src/pages/index.tsx +++ b/src/EducationTrail/ClientApp/src/pages/index.tsx @@ -5,7 +5,7 @@ export class Home extends Component { static displayName = Home.name; componentDidMount() { - document.title = Home.name + " - Education Trail"; + document.title = "Home - Education Trail"; } render() { diff --git a/src/EducationTrail/ClientApp/src/pages/login.tsx b/src/EducationTrail/ClientApp/src/pages/login.tsx index 7c33d37..b787a0e 100644 --- a/src/EducationTrail/ClientApp/src/pages/login.tsx +++ b/src/EducationTrail/ClientApp/src/pages/login.tsx @@ -4,7 +4,7 @@ export class Login extends Component { static displayName = Login.name; componentDidMount() { - document.title = Login.name + " - Education Trail"; + document.title = "Login - Education Trail"; } render() { diff --git a/src/EducationTrail/ClientApp/src/pages/signup.tsx b/src/EducationTrail/ClientApp/src/pages/signup.tsx index 109afd4..965254d 100644 --- a/src/EducationTrail/ClientApp/src/pages/signup.tsx +++ b/src/EducationTrail/ClientApp/src/pages/signup.tsx @@ -4,7 +4,7 @@ export class Signup extends Component { static displayName = Signup.name; componentDidMount() { - document.title = Signup.name + " - Education Trail"; + document.title = "Signup - Education Trail"; } render() { diff --git a/src/EducationTrail/ClientApp/src/pages/test.tsx b/src/EducationTrail/ClientApp/src/pages/test.tsx index ebe35bf..da11737 100644 --- a/src/EducationTrail/ClientApp/src/pages/test.tsx +++ b/src/EducationTrail/ClientApp/src/pages/test.tsx @@ -3,6 +3,10 @@ import React, { Component } from 'react'; class Test extends Component { static displayName = Test.name; + componentDidMount() { + document.title = "Test - Education Trail"; + } + render(): React.ReactNode { return (

Welcome to Testing