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

Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
Vedant JainandPeer Richelsen authored and GitHub committed 2024-06-21 09:49:43 +00:00
1 parent 0288ea931f
commit c7a96e1b43
1 file changed
+3 -1
+3 -1
View File
@@ -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();