rename header component to application bar

master
Tudor Stanciu 2021-05-16 02:11:28 +03:00
parent 8dad3b28f1
commit 5939a43d14
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ import React, { Suspense, useEffect } from "react";
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import { Route, Switch } from "react-router-dom"; import { Route, Switch } from "react-router-dom";
import HomePage from "./home/HomePage"; import HomePage from "./home/HomePage";
import Header from "./layout/Header"; import AppBar from "./layout/ApplicationBar";
import PageNotFound from "./PageNotFound"; import PageNotFound from "./PageNotFound";
import SessionContainer from "../features/session/components/SessionContainer"; import SessionContainer from "../features/session/components/SessionContainer";
import ReleaseNotesContainer from "../features/releaseNotes/components/ReleaseNotesContainer"; import ReleaseNotesContainer from "../features/releaseNotes/components/ReleaseNotesContainer";
@ -26,7 +26,7 @@ function App({ actions }) {
return ( return (
<Suspense fallback={<div></div>}> <Suspense fallback={<div></div>}>
<Header /> <AppBar />
<BotsManager /> <BotsManager />
<br /> <br />
<div style={contentStyle}> <div style={contentStyle}>

View File

@ -29,7 +29,7 @@ const useStyles = makeStyles(theme => ({
} }
})); }));
const Header = () => { const ApplicationBar = () => {
const classes = useStyles(); const classes = useStyles();
const { t, i18n } = useTranslation(); const { t, i18n } = useTranslation();
@ -141,4 +141,4 @@ const Header = () => {
); );
}; };
export default Header; export default ApplicationBar;