🔇 Remove unused logs
This commit is contained in:
@ -6,9 +6,5 @@ Sentry.init({
|
|||||||
dsn: SENTRY_DSN,
|
dsn: SENTRY_DSN,
|
||||||
ignoreErrors: ['ResizeObserver loop limit exceeded'],
|
ignoreErrors: ['ResizeObserver loop limit exceeded'],
|
||||||
debug: true,
|
debug: true,
|
||||||
beforeSend: (event) => {
|
|
||||||
console.log('[SENTRY] beforeSend event:', event)
|
|
||||||
return event
|
|
||||||
},
|
|
||||||
release: process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA + '-builder',
|
release: process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA + '-builder',
|
||||||
})
|
})
|
||||||
|
@ -62,7 +62,6 @@ export const ResultsTable = ({
|
|||||||
|
|
||||||
const changeColumnOrder = (newColumnOrder: string[]) => {
|
const changeColumnOrder = (newColumnOrder: string[]) => {
|
||||||
if (typeof newColumnOrder === 'function') return
|
if (typeof newColumnOrder === 'function') return
|
||||||
console.log(newColumnOrder)
|
|
||||||
updateTypebot({
|
updateTypebot({
|
||||||
resultsTablePreferences: {
|
resultsTablePreferences: {
|
||||||
columnsOrder: newColumnOrder,
|
columnsOrder: newColumnOrder,
|
||||||
|
@ -48,7 +48,6 @@ export const blockHasOptions = (block: Block) => 'options' in block
|
|||||||
|
|
||||||
export const parseVariableHighlight = (content: string, typebot: Typebot) => {
|
export const parseVariableHighlight = (content: string, typebot: Typebot) => {
|
||||||
const varNames = typebot.variables.map((v) => v.name)
|
const varNames = typebot.variables.map((v) => v.name)
|
||||||
console.log(content)
|
|
||||||
return content.replace(
|
return content.replace(
|
||||||
new RegExp(`(?<!href="){{(${varNames.join('|')})}}`, 'g'),
|
new RegExp(`(?<!href="){{(${varNames.join('|')})}}`, 'g'),
|
||||||
(fullMatch, foundVar) => {
|
(fullMatch, foundVar) => {
|
||||||
|
Reference in New Issue
Block a user