Skip to content

Commit

Permalink
Add a workaround when getting a file with JSON contents
Browse files Browse the repository at this point in the history
I still don't like this workaround because you're not getting the raw file contents.
Needs an upstream fix: perry-mitchell/webdav-client#267
  • Loading branch information
mofojed committed Aug 23, 2021
1 parent 35feb9f commit 2836a18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/code-studio/src/dashboard/DashboardContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ DashboardContainer.contextType = ReactReduxContext;

const mapStateToProps = state => ({
activeTool: getActiveTool(state),
session: getSession(state),
session: getSession(state).session,
});

export default connect(mapStateToProps, {
Expand Down

0 comments on commit 2836a18

Please sign in to comment.