chore: format with prettier

This commit is contained in:
2026-05-13 13:36:22 +02:00
parent d00f9493af
commit e7dfaaf8c0
2 changed files with 5 additions and 4 deletions

View File

@@ -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 {

View File

@@ -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');