Skip to content

Commit

Permalink
Commit message hotfix (#356)
Browse files Browse the repository at this point in the history
* add date to config json to avoid caching

* fixed syntax error on qs

* added commit message

* fixed tests
  • Loading branch information
sdstolworthy authored Oct 30, 2020
1 parent 3893809 commit 064f77f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/routes/engagement_details/engagement_details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export const EngagementDetailView = () => {

const {
engagementFormConfig,
saveEngagement,
getConfig,
createEngagementPoll,
error: engagementFormRequestError,
Expand All @@ -44,7 +43,12 @@ export const EngagementDetailView = () => {
missingRequiredFields,
} = useEngagements();

const { currentChanges, updateEngagementFormField, clearCurrentChanges } = useEngagementForm()
const {
saveChanges: saveEngagement,
currentChanges,
updateEngagementFormField,
clearCurrentChanges,
} = useEngagementForm();
useEffect(() => {
let engagementPoll;
if (currentEngagement?.project_name && currentEngagement?.customer_name) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class FakedEngagementService implements EngagementService {
async createEngagement(data: Engagement): Promise<Engagement> {
return data;
}
async saveEngagement(data: Engagement): Promise<Engagement> {
async saveEngagement(data: Engagement, message: string): Promise<Engagement> {
return data as Engagement;
}
async launchEngagement(data: any): Promise<Engagement> {
Expand Down

0 comments on commit 064f77f

Please sign in to comment.