Skip to content

Commit

Permalink
Revert "Formatting checks"
Browse files Browse the repository at this point in the history
This reverts commit 673076d.
  • Loading branch information
Justin Campbell committed Oct 16, 2020
1 parent 2ef841e commit 8d1bd3a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/components/ItemViewAppBar/ItemViewAppBar.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React, { useEffect } from "react";
import PropTypes from "prop-types";
import { makeStyles, Tooltip, Typography, AppBar, Toolbar, IconButton, Zoom } from "@material-ui/core"
import {makeStyles, Tooltip, Typography, AppBar, Toolbar, IconButton, Zoom} from "@material-ui/core"
import CloseItemViewIcon from '@material-ui/icons/ChevronRight';


export default function ItemViewAppBar({ title, theme, setSidebarOpen }) {
export default function ItemViewAppBar({ title, theme, setSidebarOpen }){

useEffect(() => {
setSidebarOpen(true)
Expand All @@ -26,13 +26,13 @@ export default function ItemViewAppBar({ title, theme, setSidebarOpen }) {

const classes = useStyles(theme);

return (
return(
<>
<AppBar position="fixed" color="secondary" elevation={2} classes={{ root: classes.appBarRoot }}>

<AppBar position="fixed" color="secondary" elevation={2} classes={{root: classes.appBarRoot}}>
<Toolbar variant="dense">
<Tooltip title={"Close Item"}
arrow
<Tooltip title={"Close Item"}
arrow
onClick={() => setSidebarOpen(false)}
TransitionComponent={Zoom}
>
Expand All @@ -46,7 +46,7 @@ export default function ItemViewAppBar({ title, theme, setSidebarOpen }) {
</Typography>
</Toolbar>
</AppBar>
<Toolbar variant="dense" />
<Toolbar variant="dense"/>
</>
);
}
Expand Down

0 comments on commit 8d1bd3a

Please sign in to comment.