From e7dfaaf8c037d3e09c79edf8bbc67939cc488a1b Mon Sep 17 00:00:00 2001 From: mkelvers Date: Wed, 13 May 2026 13:36:22 +0200 Subject: [PATCH] chore: format with prettier --- internal/playback/handler/handler.go | 6 +++--- static/toast.ts | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/internal/playback/handler/handler.go b/internal/playback/handler/handler.go index 7449055..da96f2d 100644 --- a/internal/playback/handler/handler.go +++ b/internal/playback/handler/handler.go @@ -18,9 +18,9 @@ type PlaybackHandler struct { svc domain.PlaybackService animeSvc domain.AnimeService - proxyClient *http.Client - streamingClient *http.Client - subtitleCache sync.Map + proxyClient *http.Client + streamingClient *http.Client + subtitleCache sync.Map } func NewPlaybackHandler(svc domain.PlaybackService, animeSvc domain.AnimeService) *PlaybackHandler { diff --git a/static/toast.ts b/static/toast.ts index 469ad10..8ceffd4 100644 --- a/static/toast.ts +++ b/static/toast.ts @@ -29,7 +29,8 @@ const showToast = ({ message, duration = 3000 }: ToastOptions): void => { return; } - const toast = (template.content.cloneNode(true) as DocumentFragment).firstElementChild as HTMLElement; + const toast = (template.content.cloneNode(true) as DocumentFragment) + .firstElementChild as HTMLElement; if (!toast) return; const messageEl = toast.querySelector('.toast-message'); const closeBtn = toast.querySelector('.toast-close');