[CAL-3940] randomize Tip Sidebar (#15469)
Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
1 parent
0288ea931f
commit
c7a96e1b43
1 file changed
+3
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user