Renamed Search component to SearchResults
This commit is contained in:
parent
3286b3b7db
commit
4462f7c5ff
@ -14,5 +14,5 @@ func Get(ctx *aero.Context) string {
|
||||
term := ctx.Get("term")
|
||||
|
||||
userResults, animeResults := arn.Search(term, maxUsers, maxAnime)
|
||||
return ctx.HTML(components.Search(userResults, animeResults))
|
||||
return ctx.HTML(components.SearchResults(userResults, animeResults))
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
component Search(users []*arn.User, animeResults []*arn.Anime)
|
||||
component SearchResults(users []*arn.User, animeResults []*arn.Anime)
|
||||
.widgets
|
||||
.widget
|
||||
h3 Users
|
||||
|
Loading…
Reference in New Issue
Block a user