🐛 Sort variables to parse to fix text bubble parsing issue
This commit is contained in:
@ -140,7 +140,7 @@ export const getVariablesToParseInfoInText = (
|
|||||||
) ?? '',
|
) ?? '',
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
return variablesToParseInfo
|
return variablesToParseInfo.sort((a, b) => a.startIndex - b.startIndex)
|
||||||
}
|
}
|
||||||
|
|
||||||
const parseVariableValueInJson = (value: VariableWithValue['value']) => {
|
const parseVariableValueInJson = (value: VariableWithValue['value']) => {
|
||||||
|
Reference in New Issue
Block a user