Merge branch 'next/landscape' into hm/fix-tile-order-persistence

This commit is contained in:
Hunter Miller 2022-03-21 15:26:04 -05:00
commit 82164abe2f

View File

@ -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]);