Skip to content

Commit

Permalink
fix: remove unneeded comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jjburbridge committed Jan 2, 2025
1 parent 57c4cb4 commit 57d3d9a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/components/VariantPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,5 @@ export const VariantPreview = (props: PreviewProps) => {
subtitle: typeof value === 'string' ? value : '',
}

// exp not stored agaisnt variant
// "title":coalesce(select(title.experimentValue == $experiment && defined(title.variants[variantId == $variant][0]) => title.variants[variantId == $variant][0].value, null), title.default),

// exp stored agaisnt variant
// "title":coalesce(title.variants[experimentId == $experiment && variantId == $variant][0].value, title.default, title),

// exp and var stored as _key
// "title":coalesce(title.variants[_key == $experiment+':'+$variant][0].value, title.default),

// console.log('new props', previewProps)
return props.renderDefault(previewProps)
}

0 comments on commit 57d3d9a

Please sign in to comment.