rename header component to application bar
parent
8dad3b28f1
commit
5939a43d14
|
@ -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}>
|
||||||
|
|
|
@ -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;
|
Loading…
Reference in New Issue