Skip to content

Commit

Permalink
Rename CustomAppBar to ItemTableAppBar
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Campbell committed Sep 17, 2020
1 parent 1b04a6a commit 7309063
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState } from "react";
import { ThemeProvider } from "@material-ui/core/styles";
import webqueueTheme from "./theme";
import { Box, makeStyles } from "@material-ui/core";
import CustomAppBar from "./CustomAppBar";
import ItemTableAppBar from "./ItemTableAppBar";
import ItemTable from "./components/ItemTable/";
import ItemViewAppBar from "./ItemViewAppBar";
import ItemView from "./ItemView";
Expand Down Expand Up @@ -55,7 +55,7 @@ function App(){
<ThemeProvider theme={theme}>
<Box display="flex">
<Box className={classes.leftCol}>
<CustomAppBar title="webqueue2" darkMode={darkMode} setDarkMode={setDarkMode} theme={theme}/>
<ItemTableAppBar title="webqueue2" darkMode={darkMode} setDarkMode={setDarkMode} theme={theme}/>
<ItemTable setActiveItem={setActiveItem} setSidebarOpen={setSidebarOpen}/>
</Box>
<Box className={clsx(classes.rightCol, sidebarOpen && classes.rightColShift)}>
Expand Down
2 changes: 1 addition & 1 deletion src/CustomAppBar.js → src/ItemTableAppBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import DarkModeIcon from '@material-ui/icons/Brightness4';
import LightModeIcon from '@material-ui/icons/Brightness7';


export default function CustomAppBar(props){
export default function ItemTableAppBar(props){
const useStyles = makeStyles((theme) => ({
menuButton: {
marginLeft: theme.spacing(2),
Expand Down

0 comments on commit 7309063

Please sign in to comment.