@trackunit/react-form-components 0.0.507 → 0.0.509
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -1937,7 +1937,7 @@ const useCustomStyles = ({ refContainer, refPrefix, maxSelectedDisplayCount, sty
|
|
|
1937
1937
|
...styles,
|
|
1938
1938
|
};
|
|
1939
1939
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1940
|
-
}, [refContainer, refPrefix]);
|
|
1940
|
+
}, [refContainer, refPrefix, disabled]);
|
|
1941
1941
|
return { customStyles };
|
|
1942
1942
|
};
|
|
1943
1943
|
|
package/index.esm.js
CHANGED
|
@@ -1918,7 +1918,7 @@ const useCustomStyles = ({ refContainer, refPrefix, maxSelectedDisplayCount, sty
|
|
|
1918
1918
|
...styles,
|
|
1919
1919
|
};
|
|
1920
1920
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1921
|
-
}, [refContainer, refPrefix]);
|
|
1921
|
+
}, [refContainer, refPrefix, disabled]);
|
|
1922
1922
|
return { customStyles };
|
|
1923
1923
|
};
|
|
1924
1924
|
|