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

@ -6,9 +6,5 @@ Sentry.init({
dsn: SENTRY_DSN,
ignoreErrors: ['ResizeObserver loop limit exceeded'],
debug: true,
beforeSend: (event) => {
console.log('[SENTRY] beforeSend event:', event)
return event
},
release: process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA + '-builder',
})

View File

@ -62,7 +62,6 @@ export const ResultsTable = ({
const changeColumnOrder = (newColumnOrder: string[]) => {
if (typeof newColumnOrder === 'function') return
console.log(newColumnOrder)
updateTypebot({
resultsTablePreferences: {
columnsOrder: newColumnOrder,

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) => {