Skip to content

Commit 845a290

Browse files
Cleanup
1 parent da75b09 commit 845a290

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

components/explore_users_page.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ type ExploreUsersPageProps struct {
1414
Keyword string
1515
SortType string
1616
Users []*user.User
17-
// ContextUser *user.User
1817
Context *context.Context
1918
IsSigned bool
2019
}
@@ -47,14 +46,13 @@ func ExploreUsersPage(data ExploreUsersPageProps) g.Node {
4746
gh.Class("ui container"),
4847
ExploreSearchMenu(data, true),
4948
UserList(UserListProps{
50-
// ContextUser: data.ContextUser,
5149
Context: data.Context,
5250
Users: data.Users,
5351
IsSigned: data.IsSigned,
5452
Locale: data.Locale,
5553
PageIsAdminUsers: false,
5654
}),
57-
// Pagination(data),
55+
// TODO Pagination(data),
5856
),
5957
),
6058
g.Raw(footer),

components/user_list.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ import (
1111
)
1212

1313
type UserListProps struct {
14-
Users []*user.User
15-
// ContextUser *user.User
14+
Users []*user.User
1615
IsSigned bool
1716
PageIsAdminUsers bool
1817
Locale translation.Locale

0 commit comments

Comments
 (0)