feat: filter owned tanks

This commit is contained in:
TrèsAbhi committed 2025-10-04 21:35:12 -05:00
1 parent 66cf590f1c
commit 9412be2d7c
10 files changed
+435 -354

No files matched your search

-10
View File
@@ -1,10 +0,0 @@
import { useRef } from 'react';
import usePromise from 'react-promise-suspense';
/**
* A more stable alternative to `use` using `usePromise`.
*/
export function useAwait<Type>(promise: Promise<Type>) {
const callback = useRef(async () => await promise);
return usePromise(callback.current, []);
}