myems-web/src/hoc/withAuthSplit.js
Function withAuthSplit
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const withAuthSplit = OriginalComponent => {
const UpdatedComponent = props => {
// State
const [bgProps, setBgProps] = useState(null);
Function UpdatedComponent
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const UpdatedComponent = props => {
// State
const [bgProps, setBgProps] = useState(null);
return (