mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 11:33:41 +03:00
Merge branch 'next/landscape' into hm/fix-tile-order-persistence
This commit is contained in:
commit
82164abe2f
@ -54,11 +54,7 @@ export const TileGrid = ({ menu }: TileGridProps) => {
|
||||
} else if (order.length > chargeKeys.length && hasChargeKeys) {
|
||||
useSettingsState
|
||||
.getState()
|
||||
.putEntry(
|
||||
'tiles',
|
||||
'order',
|
||||
uniq(order.filter((key) => !(key in charges)).concat(chargeKeys))
|
||||
);
|
||||
.putEntry('tiles', 'order', uniq(order.filter((key) => key in charges).concat(chargeKeys)));
|
||||
}
|
||||
}, [charges, order, loaded]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user