This commit is contained in:
Philip Peterson
2025-05-27 20:38:27 -07:00
parent da75b09c90
commit 845a290fcd
2 changed files with 2 additions and 5 deletions
+1 -3
View File
@@ -14,7 +14,6 @@ type ExploreUsersPageProps struct {
Keyword string
SortType string
Users []*user.User
// ContextUser *user.User
Context *context.Context
IsSigned bool
}
@@ -47,14 +46,13 @@ func ExploreUsersPage(data ExploreUsersPageProps) g.Node {
gh.Class("ui container"),
ExploreSearchMenu(data, true),
UserList(UserListProps{
// ContextUser: data.ContextUser,
Context: data.Context,
Users: data.Users,
IsSigned: data.IsSigned,
Locale: data.Locale,
PageIsAdminUsers: false,
}),
// Pagination(data),
// TODO Pagination(data),
),
),
g.Raw(footer),
+1 -2
View File
@@ -11,8 +11,7 @@ import (
)
type UserListProps struct {
Users []*user.User
// ContextUser *user.User
Users []*user.User
IsSigned bool
PageIsAdminUsers bool
Locale translation.Locale