Fix chromatic tests + re-enable (#3414)

* Fix chromatic tests + re-enable

* Try to run command manually

* Fix

* Fix

* Fix

* Fix

* Fix

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Thomas Trompette
2024-01-12 18:32:00 +01:00
committed by GitHub
parent 03b5c40e8a
commit c53abf2f5a
4 changed files with 8 additions and 29 deletions

View File

@ -83,7 +83,7 @@ export const useFavorites = () => {
return favorite;
})
.toSorted((a, b) => a.position - b.position);
.sort((a, b) => a.position - b.position);
}, [
favoriteRelationFieldMetadataItems,
favorites,