frontend/photos/state_to_props.ts
Function mapStateToProps
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const mapStateToProps = (props: Everything): DesignerPhotosProps => {
const images = getImages(props.resources.index);
const env = getEnv(props.resources.index);
const versions: Record<string, string> = {};