@appquality/unguess-design-system 3.1.91-highlight-6 → 3.1.91-highlight-7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -7646,7 +7646,7 @@ const useEditor = ({ content, observations, currentTime, onSetCurrentTime, }, de
|
|
|
7646
7646
|
content: content.map((paragraph) => {
|
|
7647
7647
|
function getWords() {
|
|
7648
7648
|
return paragraph.words.map((word) => {
|
|
7649
|
-
const observationsInThisWord = observations === null || observations === void 0 ? void 0 : observations.filter((observation) => observation.start
|
|
7649
|
+
const observationsInThisWord = observations === null || observations === void 0 ? void 0 : observations.filter((observation) => observation.start <= word.start && observation.end >= word.end);
|
|
7650
7650
|
function getWordContent() {
|
|
7651
7651
|
const textContent = [
|
|
7652
7652
|
{
|