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({
255255 }
256256 // go to https://en.wikipedia.org/wiki/Logistic_function
257257 // for an explanation of Logistic functions and parameters used
258- const yshift = - 3 ;
258+ const y0 = - 3 ;
259259 const x0 = 5 ;
260260 const L = 25 ;
261261 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 ) ) ) ;
263263 // const strokeWidthIndex = childPropsLength * 2.5 + 1;
264264 console . log ( 'strokeWidthIndex: ' , strokeWidthIndex ) ;
265265
@@ -271,7 +271,7 @@ export default function ComponentMap({
271271 }
272272
273273 //testing hover functionality
274- const [ isHovered , setIsHovered ] = React . useState ( false ) ;
274+ // const [isHovered, setIsHovered] = React.useState(false);
275275
276276 //hover state
277277 const [ isHovered , setIsHovered ] = useState ( false ) ;
You can’t perform that action at this time.
0 commit comments