extract to a new store: dashboardStore

This commit is contained in:
Julien Calixte
2023-07-24 23:06:59 +02:00
parent d5550cc53d
commit 53c8a43f51
7 changed files with 51 additions and 20 deletions

View File

@@ -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