tile-grid: check for charges loaded, updating glob

This commit is contained in:
Hunter Miller 2022-03-21 13:23:58 -05:00
parent ce39c22026
commit 3d2472f8b4
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
:~ title+'System'
info+'An app launcher for Urbit.'
color+0xee.5432
glob-http+['https://bootstrap.urbit.org/glob-0v2.l1df2.utnqo.9bssn.cv55i.s6uoc.glob' 0v2.l1df2.utnqo.9bssn.cv55i.s6uoc]
glob-http+['https://bootstrap.urbit.org/glob-0v7.c3i0g.i6ruv.refhu.n0qc8.dmpil.glob' 0v7.c3i0g.i6ruv.refhu.n0qc8.dmpil]
::glob-ames+~zod^0v0
base+'grid'
version+[1 1 1]

View File

@ -43,7 +43,7 @@ export const TileGrid = ({ menu }: TileGridProps) => {
useSettingsState.getState().putEntry('tiles', 'order', chargeKeys);
} else if (order.length < chargeKeys.length) {
useSettingsState.getState().putEntry('tiles', 'order', uniq(order.concat(chargeKeys)));
} else if (order.length > chargeKeys.length) {
} else if (order.length > chargeKeys.length && chargeKeys.length !== 0) {
useSettingsState
.getState()
.putEntry(