aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/newlightbox/ExploreView/ExploreView.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/newlightbox/ExploreView/ExploreView.tsx')
-rw-r--r--src/client/views/newlightbox/ExploreView/ExploreView.tsx3
1 files changed, 0 insertions, 3 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}