aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/newlightbox
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/newlightbox')
-rw-r--r--src/client/views/newlightbox/ExploreView/ExploreView.tsx3
-rw-r--r--src/client/views/newlightbox/components/Recommendation/Recommendation.tsx1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/client/views/newlightbox/ExploreView/ExploreView.tsx b/src/client/views/newlightbox/ExploreView/ExploreView.tsx
index 44a0bcd5f..a1d6375c4 100644
--- a/src/client/views/newlightbox/ExploreView/ExploreView.tsx
+++ b/src/client/views/newlightbox/ExploreView/ExploreView.tsx
@@ -12,14 +12,11 @@ export const ExploreView = (props: IExploreView) => {
<div className={`exploreView-container`}>
{recs &&
recs.map(rec => {
- console.log(rec.embedding, bounds);
const x_bound: number = Math.max(Math.abs(bounds.max_x), Math.abs(bounds.min_x));
const y_bound: number = Math.max(Math.abs(bounds.max_y), Math.abs(bounds.min_y));
- console.log(x_bound, y_bound);
if (rec.embedding) {
const x = (rec.embedding.x / x_bound) * 50;
const y = (rec.embedding.y / y_bound) * 50;
- console.log(x, y);
return (
<div className={`exploreView-doc`} onClick={() => {}} style={{ top: `calc(50% + ${y}%)`, left: `calc(50% + ${x}%)` }}>
{rec.title}
diff --git a/src/client/views/newlightbox/components/Recommendation/Recommendation.tsx b/src/client/views/newlightbox/components/Recommendation/Recommendation.tsx
index b9d05c531..2c2f04b9f 100644
--- a/src/client/views/newlightbox/components/Recommendation/Recommendation.tsx
+++ b/src/client/views/newlightbox/components/Recommendation/Recommendation.tsx
@@ -22,7 +22,6 @@ export const Recommendation = (props: IRecommendation) => {
doc = docView.rootDoc;
}
} else if (data) {
- console.log(data, type);
switch (type) {
case 'YouTube':
console.log('create ', type, 'document');