Skip to content

onHasInitialProject is too complex #154

@cwillisf

Description

@cwillisf

This is a tracking issue for addressing review feedback: #150 (review)

Expected Behavior

Items in mapDispatchToProps should be pass-through functions to dispatch when possible.

Actual Behavior

The onHasInitialProject function in src/renderer/app.jsx includes some logic to determine which of two dispatch calls to make. This logic should be moved to the caller so that it's easier to see all the relevant logic in one location.

CC @benjiwheeler

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions