mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2026-08-28 17:26:47 +08:00
feature: lock only one use radio mode
This commit is contained in:
@@ -13,7 +13,7 @@ const init: UserAllocation = {
|
||||
strength: 0,
|
||||
money: 0,
|
||||
}
|
||||
const allocAtom = atom<UserAllocation>({ ...init })
|
||||
export const allocAtom = atom<UserAllocation>({ ...init })
|
||||
|
||||
const alloced = (alloc: UserAllocation) =>
|
||||
Object.values(alloc).reduce((a, b) => a + b, 0)
|
||||
|
||||
Reference in New Issue
Block a user