feat: armor modes 2

This commit is contained in:
TrèsAbhi committed 2024-09-22 21:27:46 -05:00
1 parent f1410cf321
commit 2b5ffb2b84
12 files changed
+52 -62

No files matched your search

@@ -58,8 +58,8 @@ export function createContextualStore<
}
function useDeferred<Slice = Type>(
initial: Slice,
selector: (store: Type) => Slice = (state) => state as Slice,
initial: Slice,
) {
const [state, setState] = useState(initial);
const trueState = use(selector);