Skip to content

Commit 4e0152f

Browse files
committed
fixed jest libraries
1 parent 09729a0 commit 4e0152f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/app/components/StateRoute/ComponentMap/ComponentMap.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -240,18 +240,13 @@ export default function ComponentMap({
240240
const childPropsObj = link.target.data.componentData.props;
241241
let propsLength;
242242
let childPropsLength;
243-
console.log(`------------------------------${i}:`);
244243

245-
246-
console.log(`LINK: ${linkName}`, link);
247-
console.log('>PROPS: ', propsObj);
248244
if (propsObj) {
249245
propsLength = Object.keys(propsObj).length;
250-
console.log('>> props_length: ', propsLength);
251246
}
252247
if (childPropsObj) {
253248
childPropsLength = Object.keys(childPropsObj).length;
254-
console.log('>> child_props_length: ', childPropsLength);
249+
255250
}
256251
// go to https://en.wikipedia.org/wiki/Logistic_function
257252
// for an explanation of Logistic functions and parameters used
@@ -260,8 +255,6 @@ export default function ComponentMap({
260255
const L = 25;
261256
const k = .4;
262257
const strokeWidthIndex = yshift + L / (1 + Math.exp(-k * (childPropsLength - x0)));
263-
// const strokeWidthIndex = childPropsLength * 2.5 + 1;
264-
console.log('strokeWidthIndex: ', strokeWidthIndex);
265258

266259
if (strokeWidthIndex <= 1) {
267260
stroke = '#808080';

0 commit comments

Comments
 (0)