Renamed Search component to SearchResults

This commit is contained in:
Eduard Urbach 2017-06-23 21:05:30 +02:00
parent 3286b3b7db
commit 4462f7c5ff
2 changed files with 2 additions and 2 deletions

View File

@ -14,5 +14,5 @@ func Get(ctx *aero.Context) string {
term := ctx.Get("term") term := ctx.Get("term")
userResults, animeResults := arn.Search(term, maxUsers, maxAnime) userResults, animeResults := arn.Search(term, maxUsers, maxAnime)
return ctx.HTML(components.Search(userResults, animeResults)) return ctx.HTML(components.SearchResults(userResults, animeResults))
} }

View File

@ -1,4 +1,4 @@
component Search(users []*arn.User, animeResults []*arn.Anime) component SearchResults(users []*arn.User, animeResults []*arn.Anime)
.widgets .widgets
.widget .widget
h3 Users h3 Users