diff --git a/src/Components/Mods/Paddings.tsx b/src/Components/Mods/Paddings.tsx index e8eca57..88ee2aa 100644 --- a/src/Components/Mods/Paddings.tsx +++ b/src/Components/Mods/Paddings.tsx @@ -35,6 +35,8 @@ const Padding = () => { [visible, path] ); + //todo: optimize this function, move to useEffect, useState. + // its being called on every hover event. const getValue = (direction: string) => { let value = ''; //todo: debug why removing active causes crash getValue:{@mods/pad..tsx}