Skip to content

Commit

Permalink
refactor: add memorytags in message history + why this answer
Browse files Browse the repository at this point in the history
  • Loading branch information
nzambello committed May 6, 2024
1 parent 501eb90 commit 1f7e074
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions src/components/MemoriWidget/MemoriWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ const MemoriWidget = ({
placeLongitude: currentState.currentLongitude,
placeUncertaintyKm: currentState.currentUncertaintyKm,
tag: currentState.currentTag,
// memoryTags: currentState.memoryTags,
memoryTags: currentState.memoryTags,
});
speak(emission);
}
Expand Down Expand Up @@ -735,7 +735,7 @@ const MemoriWidget = ({
placeLongitude: currentState.currentLongitude,
placeUncertaintyKm: currentState.currentUncertaintyKm,
tag: currentState.currentTag,
// memoryTags: currentState.memoryTags,
memoryTags: currentState.memoryTags,
});
speak(emission);
}
Expand Down Expand Up @@ -781,7 +781,7 @@ const MemoriWidget = ({
placeLongitude: currentState.currentLongitude,
placeUncertaintyKm: currentState.currentUncertaintyKm,
tag: currentState.currentTag,
// memoryTags: currentState.memoryTags,
memoryTags: currentState.memoryTags,
});
speak(emission);
}
Expand Down Expand Up @@ -853,7 +853,7 @@ const MemoriWidget = ({
placeLongitude: state.currentLongitude,
placeUncertaintyKm: state.currentUncertaintyKm,
tag: state.currentTag,
// memoryTags: currentState.memoryTags,
memoryTags: state.memoryTags,
};
}
} else {
Expand Down Expand Up @@ -903,7 +903,7 @@ const MemoriWidget = ({
placeLongitude: state.currentLongitude,
placeUncertaintyKm: state.currentUncertaintyKm,
tag: state.currentTag,
// memoryTags: currentState.memoryTags,
memoryTags: state.memoryTags,
};
}

Expand Down Expand Up @@ -1143,7 +1143,7 @@ const MemoriWidget = ({
placeLongitude: currentState.currentLongitude,
placeUncertaintyKm: currentState.currentUncertaintyKm,
tag: currentState.currentTag,
// memoryTags: currentState.memoryTags,
memoryTags: currentState.memoryTags,
},
])
: pushMessage({
Expand All @@ -1159,7 +1159,7 @@ const MemoriWidget = ({
placeLongitude: currentState.currentLongitude,
placeUncertaintyKm: currentState.currentUncertaintyKm,
tag: currentState.currentTag,
// memoryTags: currentState.memoryTags,
memoryTags: currentState.memoryTags,
});
}
}
Expand Down Expand Up @@ -1439,7 +1439,7 @@ const MemoriWidget = ({
placeLongitude: currentState.currentLongitude,
placeUncertaintyKm: currentState.currentUncertaintyKm,
tag: currentState.currentTag,
// memoryTags: currentState.memoryTags,
memoryTags: currentState.memoryTags,
});
speak(emission);
setCurrentDialogState({
Expand Down Expand Up @@ -2349,7 +2349,7 @@ const MemoriWidget = ({
placeLongitude: currentState.currentLongitude,
placeUncertaintyKm: currentState.currentUncertaintyKm,
tag: currentState.currentTag,
// memoryTags: currentState.memoryTags,
memoryTags: currentState.memoryTags,
});
}
} else {
Expand All @@ -2371,7 +2371,7 @@ const MemoriWidget = ({
placeLongitude: currentState.currentLongitude,
placeUncertaintyKm: currentState.currentUncertaintyKm,
tag: currentState.currentTag,
// memoryTags: currentState.memoryTags,
memoryTags: currentState.memoryTags,
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/WhyThisAnswer/WhyThisAnswer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const WhyThisAnswer = ({
placeUncertaintyKm: message.placeUncertaintyKm,
contextVars: message.contextVars,
tag: message.tag,
// memoryTags: message.memoryTags,
memoryTags: message.memoryTags,
});

if (response.resultCode !== 0) {
Expand Down

0 comments on commit 1f7e074

Please sign in to comment.