mirror of
https://github.com/pgsty/minio.git
synced 2026-08-09 07:43:29 +03:00
Fix failing unit tests in browser (#5688)
* format js files using prettier Used the following command to format the files prettier --write "browser/app/js/**/*.js" * fix failing unit tests in browser
This commit is contained in:
committed by
Harshavardhana
parent
cb3818be27
commit
c0e45f9098
@@ -30,7 +30,7 @@ export const SideBar = ({ sidebarOpen }) => {
|
||||
<aside
|
||||
className={classNames({
|
||||
sidebar: true,
|
||||
"sidebar--toggled": sidebarOpen,
|
||||
"sidebar--toggled": sidebarOpen
|
||||
})}
|
||||
>
|
||||
<div className="sidebar__inner">
|
||||
@@ -53,13 +53,13 @@ export const SideBar = ({ sidebarOpen }) => {
|
||||
|
||||
const mapStateToProps = state => {
|
||||
return {
|
||||
sidebarOpen: state.browser.sidebarOpen,
|
||||
sidebarOpen: state.browser.sidebarOpen
|
||||
}
|
||||
}
|
||||
|
||||
const mapDispatchToProps = dispatch => {
|
||||
return {
|
||||
toggleSidebar: () => dispatch(actionsCommon.toggleSidebar()),
|
||||
toggleSidebar: () => dispatch(actionsCommon.toggleSidebar())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user