extract to a new store: dashboardStore
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
export const clone = (data: any) => JSON.parse(JSON.stringify(data))
|
||||
|
||||
export const shuffleArray = <T>(array: T[]) => {
|
||||
let currentIndex = array.length,
|
||||
randomIndex
|
||||
|
||||
Reference in New Issue
Block a user