Skip to content

Commit

Permalink
chore: updated snap points normalisation hook deps
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhom committed Sep 17, 2023
1 parent 6fc2cd1 commit 9564467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useNormalizedSnapPoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const useNormalizedSnapPoints = (
_normalizedSnapPoints = _normalizedSnapPoints.sort((a, b) => b - a);
}
return _normalizedSnapPoints;
}, [snapPoints]);
}, [snapPoints, enableDynamicSizing, maxDynamicContentSize]);

return normalizedSnapPoints;
};

0 comments on commit 9564467

Please sign in to comment.