Skip to content

Scheduling infrastructure for absolutely everyone.

[CAL-3940] randomize Tip Sidebar (#15469)

Vedant Jainc7a96e1b4320
diff --git a/packages/features/tips/Tips.tsx b/packages/features/tips/Tips.tsx
index 2501f45efcd..465eec12e47 100644
--- a/packages/features/tips/Tips.tsx
+++ b/packages/features/tips/Tips.tsx
@@ -1,3 +1,5 @@
+// eslint-disable-next-line no-restricted-imports
+import shuffle from "lodash/shuffle";
import { useState, memo } from "react";
import { useLocale } from "@calcom/lib/hooks/useLocale";
@@ -111,7 +113,7 @@ export const tips = [
},
];
-const reversedTips = tips.slice(0).reverse();
+const reversedTips = shuffle(tips).slice(0).reverse();
function Tips() {
const { t } = useLocale();