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);
3535const moreSketches = await getRandomCurationSketches (4 );
3636const featuredImageURL = makeThumbnailUrl (sketchId );
3737
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-
4138let { width, height } = await getSketchSize (sketchId );
4239let heightOverWidth = 1 / 1.5 ;
4340if (width && height ) {
@@ -46,10 +43,6 @@ if (width && height) {
4643 heightOverWidth = height / width ;
4744}
4845
49- // let width = undefined;
50- // let height = undefined;
51- // let heightOverWidth = 1 / 1.5;
52-
5346const iframeTitle = ` OpenProcessing Sketch: ${title } by ${authorName } ` ;
5447---
5548
You can’t perform that action at this time.
0 commit comments