We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e71a2a commit 5a8cab6Copy full SHA for 5a8cab6
packages/react-native/src/lib/common/utils.ts
@@ -183,8 +183,7 @@ export const getLanguageCode = (
183
export const shouldDisplayBasedOnPercentage = (
184
displayPercentage: number
185
): boolean => {
186
- // NOSONAR: Math.random() is sufficient for non-security survey display logic
187
- return Math.random() * 100 < displayPercentage;
+ return Math.random() * 100 < displayPercentage; // NOSONAR: Math.random() is sufficient for non-security survey display logic
188
};
189
190
export const isNowExpired = (expirationDate: Date): boolean => {
0 commit comments