1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

Increase extension banner chance

This commit is contained in:
Cooper Ransom 2024-03-31 21:46:26 -04:00
parent f32d4f34f0
commit bce63f9aa2

View file

@ -87,8 +87,8 @@ export function ExtensionBanner(props: {
if (currentLocation !== loc || pathname === "/onboarding/extension")
return null;
// Show the banner with a 35% chance or not if users dont meet requirements
if (!isEligible && Math.random() < 0.35) {
// Show the banner with a 42% chance or not if users dont meet requirements
if (!isEligible && Math.random() < 0.42) {
let bannerText = "";
switch (props.extensionState) {
case "noperms":