Minor cleanup
This commit is contained in:
parent
19e9e3f958
commit
1a380f3139
@ -5,11 +5,6 @@ import (
|
||||
"github.com/animenotifier/arn"
|
||||
)
|
||||
|
||||
const (
|
||||
tracksFirstLoad = 12
|
||||
tracksPerScroll = 3
|
||||
)
|
||||
|
||||
// Latest renders the latest soundtracks.
|
||||
func Latest(ctx *aero.Context) string {
|
||||
// Fetch all eligible tracks
|
@ -8,6 +8,11 @@ import (
|
||||
"github.com/animenotifier/notify.moe/utils/infinitescroll"
|
||||
)
|
||||
|
||||
const (
|
||||
tracksFirstLoad = 12
|
||||
tracksPerScroll = 3
|
||||
)
|
||||
|
||||
// render renders the soundracks page with the given tracks.
|
||||
func render(ctx *aero.Context, allTracks []*arn.SoundTrack) string {
|
||||
user := utils.GetUser(ctx)
|
||||
|
Loading…
Reference in New Issue
Block a user