File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/app/components/StateRoute/ComponentMap Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -255,11 +255,11 @@ export default function ComponentMap({
255
255
}
256
256
// go to https://en.wikipedia.org/wiki/Logistic_function
257
257
// for an explanation of Logistic functions and parameters used
258
- const yshift = - 3 ;
258
+ const y0 = - 3 ;
259
259
const x0 = 5 ;
260
260
const L = 25 ;
261
261
const k = .4 ;
262
- const strokeWidthIndex = yshift + L / ( 1 + Math . exp ( - k * ( childPropsLength - x0 ) ) ) ;
262
+ const strokeWidthIndex = y0 + L / ( 1 + Math . exp ( - k * ( childPropsLength - x0 ) ) ) ;
263
263
// const strokeWidthIndex = childPropsLength * 2.5 + 1;
264
264
console . log ( 'strokeWidthIndex: ' , strokeWidthIndex ) ;
265
265
@@ -271,7 +271,7 @@ export default function ComponentMap({
271
271
}
272
272
273
273
//testing hover functionality
274
- const [ isHovered , setIsHovered ] = React . useState ( false ) ;
274
+ // const [isHovered, setIsHovered] = React.useState(false);
275
275
276
276
//hover state
277
277
const [ isHovered , setIsHovered ] = useState ( false ) ;
You can’t perform that action at this time.
0 commit comments