Skip to content

Commit

Permalink
feat: #1325 Update return types for submit app selector
Browse files Browse the repository at this point in the history
  • Loading branch information
nphivu414 committed May 27, 2020
1 parent 18bf057 commit d511568
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/marketplace/src/selector/submit-app.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { ReduxState } from '@/types/core'
import { SubmitAppState } from '@/reducers/submit-app'
import { SubmitRevisionState } from '@/reducers/submit-revision'

export const selectSubmitAppState = (state: ReduxState) => {
export const selectSubmitAppState = (state: ReduxState): SubmitAppState => {
return state.submitApp
}

export const selectSubmitAppRevisionState = (state: ReduxState) => {
export const selectSubmitAppRevisionState = (state: ReduxState): SubmitRevisionState => {
return state.submitRevision
}

0 comments on commit d511568

Please sign in to comment.