refactor(admin, draws, settlement): unify admin datetime display and tighten wallet write permission

This commit is contained in:
2026-06-09 15:06:52 +08:00
parent b7278e68a4
commit dfd475856e
10 changed files with 60 additions and 33 deletions

View File

@@ -414,11 +414,11 @@ export function TransferOrdersPanel(): React.ReactElement {
} finally {
setLoading(false);
}
}, [page, perPage, applied]);
}, [page, perPage, applied, tRef]);
useAsyncEffect(() => {
void load();
}, [page, perPage, applied]);
}, [page, perPage, applied, tRef]);
const runSearch = () => {
setApplied({ ...draft });
@@ -696,7 +696,7 @@ export function WalletTxnsPanel(): React.ReactElement {
} finally {
setLoading(false);
}
}, [page, perPage, applied]);
}, [page, perPage, applied, tRef]);
useAsyncEffect(() => {
void load();
@@ -971,7 +971,7 @@ export function PlayerWalletPanel(): React.ReactElement {
} finally {
setLoading(false);
}
}, [playerId]);
}, [playerId, tRef]);
return (
<Card>