mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2026-08-28 17:26:47 +08:00
update: character
This commit is contained in:
@@ -47,7 +47,7 @@ export const useAllocator = () => {
|
||||
return { ...prev, [key]: final }
|
||||
})
|
||||
},
|
||||
[allocate, total],
|
||||
[allocate, total, setAlloc],
|
||||
)
|
||||
return [alloc, allocator] as const
|
||||
}
|
||||
@@ -71,7 +71,7 @@ export const usePointRandomizer = () => {
|
||||
}
|
||||
setAlloc(alloc)
|
||||
},
|
||||
[allocate, total],
|
||||
[allocate, total, setAlloc],
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user