refactor(admin, draws, settlement): unify admin datetime display and tighten wallet write permission
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user