2
0

🔇 Remove unused logs

This commit is contained in:
Baptiste Arnaud
2023-02-12 18:08:01 +01:00
parent e9a1d1683e
commit 23ec5aa4d5
3 changed files with 0 additions and 6 deletions

View File

@ -48,7 +48,6 @@ export const blockHasOptions = (block: Block) => 'options' in block
export const parseVariableHighlight = (content: string, typebot: Typebot) => {
const varNames = typebot.variables.map((v) => v.name)
console.log(content)
return content.replace(
new RegExp(`(?<!href="){{(${varNames.join('|')})}}`, 'g'),
(fullMatch, foundVar) => {