frontend/app.tsx
Function render
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const syncLoaded = this.isLoaded;
const { bot, dispatch, getConfigValue } = this.props;
const landingPage = getConfigValue(StringSetting.landing_page);
return <div className="app">
Function mapStateToProps
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function mapStateToProps(props: Everything): AppProps {
const webAppConfigValue = getWebAppConfigValue(() => props);
return {
timeSettings: maybeGetTimeSettings(props.resources.index),
dispatch: props.dispatch,