Skip to content

Commit

Permalink
Fix for 3.4 in #1267
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi749 committed Sep 27, 2023
1 parent b21a765 commit 34fbbe6
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { IProjectStatusContext } from './context'
import reducer, { initialState } from './reducer'
import { IProjectStatusProps } from './types'
import { useProjectStatusDataFetch } from './useProjectStatusDataFetch'
import strings from 'ProjectWebPartsStrings'

/**
* Component logic hook for `ProjectStatus`
Expand All @@ -13,7 +14,10 @@ export function useProjectStatus(props: IProjectStatusProps) {

useProjectStatusDataFetch(props, dispatch)

const context: IProjectStatusContext = { props, state, dispatch }
const context: IProjectStatusContext = { props: {
title: strings.ProjectInformationStatusReportHeaderText,
description: strings.ProjectInformationStatusReportHeaderDescription
}, state, dispatch }

return { context }
}

0 comments on commit 34fbbe6

Please sign in to comment.