-
Notifications
You must be signed in to change notification settings - Fork 940
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BE-835 Fixed sonarcloud code smell issues (#191)
Signed-off-by: jeeva <jeevasang@gmail.com>
- Loading branch information
Showing
19 changed files
with
286 additions
and
376 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,4 +51,4 @@ export enum explorerError { | |
|
||
// Fabric Message | ||
|
||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
// add new version of fabric here | ||
const Version = ['v2.2', 'v1.4']; | ||
const FabricVersion = ['v2.2', 'v1.4']; | ||
|
||
export default Version; | ||
export default FabricVersion; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import React, { Component } from 'react'; | ||
|
||
import compose from 'recompose/compose'; | ||
import { withStyles } from '@material-ui/core/styles'; | ||
|
||
const styles = theme => ({ | ||
root: { | ||
width: 'auto', | ||
display: 'block', // Fix IE 11 issue. | ||
marginLeft: theme.spacing.unit * 3, | ||
marginRight: theme.spacing.unit * 3, | ||
[theme.breakpoints.up(400 + theme.spacing.unit * 3 * 2)]: { | ||
width: 400, | ||
marginLeft: 'auto', | ||
marginRight: 'auto' | ||
} | ||
} | ||
}); | ||
|
||
export class Container extends Component { | ||
render() { | ||
const { classes, children } = this.props; | ||
return ( | ||
<div className={classes.root}> | ||
{children} | ||
</div> | ||
); | ||
} | ||
} | ||
|
||
export default compose(withStyles(styles))(Container); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.