@acuteinfo/common-screens 1.0.29 → 1.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2550,13 +2550,11 @@ const checkDateAndDisplay = (dateStr) => {
2550
2550
 
2551
2551
  const drawerWidth = 227;
2552
2552
  const useStyles = makeStyles((theme) => {
2553
- console.log("theme<<", theme);
2554
2553
  return {
2555
2554
  drawerPaper: {
2556
2555
  position: "relative",
2557
2556
  whiteSpace: "nowrap",
2558
2557
  width: drawerWidth,
2559
- background: theme.palette.info.light,
2560
2558
  transition: theme.transitions.create("width", {
2561
2559
  easing: theme.transitions.easing.sharp,
2562
2560
  duration: theme.transitions.duration.enteringScreen,
@@ -3194,7 +3192,7 @@ const SideBar = ({ authState, handleDrawerOpen, open, rootUrl, dashboardUrl = "d
3194
3192
  const SidebarWrapper = (props) => {
3195
3193
  const classes = useStyles();
3196
3194
  return (jsxs(Drawer, { variant: "permanent", classes: {
3197
- paper: clsx(classes.drawerPaper, !open && classes.drawerPaperClose),
3195
+ paper: clsx(classes.drawerPaper, !props.open && classes.drawerPaperClose),
3198
3196
  }, open: props.open, children: [jsx("div", { className: classes.toolbarIcon }), jsx(SideBar, { ...props })] }));
3199
3197
  };
3200
3198