feat: apply disable animations before the first paint

This commit is contained in:
Elias Schneider
2026-10-27 23:32:53 +01:00
parent d6efcc4e95
commit dac121cf56
4 changed files with 37 additions and 17 deletions
+3 -1
View File
@@ -3,9 +3,11 @@
package frontend
import (
"context"
"github.com/gin-gonic/gin"
)
func RegisterFrontend(router *gin.Engine) error {
func RegisterFrontend(router *gin.Engine, animationsDisabled func(ctx context.Context) bool) error {
return ErrFrontendNotIncluded
}