feat: extended player profile

This commit is contained in:
Dawid Wysokiński 2023-01-18 16:41:07 +01:00
parent 84c5c3fc9a
commit 6f1a7e5852
Signed by: Kichiyaki
GPG Key ID: B5445E357FB8B892
1 changed files with 1 additions and 2 deletions

View File

@ -56,7 +56,6 @@ interface UIConnector {
} }
class UI { class UI {
private static readonly TRIBE_CHANGES_LIMIT = 30;
constructor( constructor(
private readonly player: Player, private readonly player: Player,
private readonly connector: UIConnector private readonly connector: UIConnector
@ -164,7 +163,7 @@ class UI {
accessor: (tc) => new Date(tc.createdAt).toLocaleString(), accessor: (tc) => new Date(tc.createdAt).toLocaleString(),
}, },
], ],
2, 30,
(page: number, limit: number) => { (page: number, limit: number) => {
return this.connector.tribeChanges(page, limit); return this.connector.tribeChanges(page, limit);
} }