File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,6 @@ setJumpToState(null);
35
35
const moreSketches = await getRandomCurationSketches (4 );
36
36
const featuredImageURL = makeThumbnailUrl (sketchId );
37
37
38
- // NOTE: Commenting out the call to getSketchSize to minimise calls to OP due to rate limiting
39
- // width and height should be moved to data fetched by either getCuratedSketches or getSketch to minimise calls.
40
-
41
38
let { width, height } = await getSketchSize (sketchId );
42
39
let heightOverWidth = 1 / 1.5 ;
43
40
if (width && height ) {
@@ -46,10 +43,6 @@ if (width && height) {
46
43
heightOverWidth = height / width ;
47
44
}
48
45
49
- // let width = undefined;
50
- // let height = undefined;
51
- // let heightOverWidth = 1 / 1.5;
52
-
53
46
const iframeTitle = ` OpenProcessing Sketch: ${title } by ${authorName } ` ;
54
47
---
55
48
You can’t perform that action at this time.
0 commit comments