Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zanzebra committed Mar 11, 2022
2 parents 7475a92 + 1c959fb commit 1c1ad95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Sidebar/SidebarContent/SidebarContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const SidebarContent = forwardRef(({ children, className, ...rest }, ref) => {
const { handleToggleSidebar, breakpoint } = useContext(SidebarContext);


const [width, setWidth] = useState(window.innerWidth);
const [width, setWidth] = useState(0);
const finalbreakpoint = breakpoint || 720;


Expand Down

0 comments on commit 1c1ad95

Please sign in to comment.