mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-10-30 04:29:05 +01:00
feat: apply disable animations before the first paint
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user