catchup-library-web 1.10.3 → 1.10.5

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/dist/index.js CHANGED
@@ -4829,12 +4829,6 @@ var GroupingActivityMaterialContent = ({
4829
4829
  if (!screenSize) return;
4830
4830
  setMaxWidth(ref.current.offsetWidth - 12);
4831
4831
  }, [ref, screenSize]);
4832
- (0, import_react21.useEffect)(() => {
4833
- if (!itemsRef) return;
4834
- if (!itemsRef.current) return;
4835
- if (!containerSize) return;
4836
- itemsRef.current.style.width = `${containerSize.width - 200}px`;
4837
- }, [itemsRef, containerSize]);
4838
4832
  (0, import_react21.useEffect)(() => {
4839
4833
  const shuffleArray2 = (array) => {
4840
4834
  if (!isShuffled) {
package/dist/index.mjs CHANGED
@@ -4630,12 +4630,6 @@ var GroupingActivityMaterialContent = ({
4630
4630
  if (!screenSize) return;
4631
4631
  setMaxWidth(ref.current.offsetWidth - 12);
4632
4632
  }, [ref, screenSize]);
4633
- useEffect9(() => {
4634
- if (!itemsRef) return;
4635
- if (!itemsRef.current) return;
4636
- if (!containerSize) return;
4637
- itemsRef.current.style.width = `${containerSize.width - 200}px`;
4638
- }, [itemsRef, containerSize]);
4639
4633
  useEffect9(() => {
4640
4634
  const shuffleArray2 = (array) => {
4641
4635
  if (!isShuffled) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "1.10.3",
3
+ "version": "1.10.5",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -43,12 +43,12 @@ const GroupingActivityMaterialContent = ({
43
43
  setMaxWidth(ref.current.offsetWidth - 12);
44
44
  }, [ref, screenSize]);
45
45
 
46
- useEffect(() => {
47
- if (!itemsRef) return;
48
- if (!itemsRef.current) return;
49
- if (!containerSize) return;
50
- itemsRef.current.style.width = `${containerSize.width - 200}px`;
51
- }, [itemsRef, containerSize]);
46
+ // useEffect(() => {
47
+ // if (!itemsRef) return;
48
+ // if (!itemsRef.current) return;
49
+ // if (!containerSize) return;
50
+ // itemsRef.current.style.width = `${containerSize.width - 200}px`;
51
+ // }, [itemsRef, containerSize]);
52
52
 
53
53
  useEffect(() => {
54
54
  const shuffleArray = (array: any) => {