chore: upgrade Biome to 2.4.16, clean up lint, and fix TV password modal (#1598)

This commit is contained in:
Gauvain
2026-05-29 08:32:21 +02:00
committed by GitHub
parent afe9d33ee4
commit 0ba3f44615
34 changed files with 85 additions and 46 deletions

View File

@@ -122,7 +122,7 @@ export const WebSocketProvider = ({ children }: WebSocketProviderProps) => {
const handlePlayCommand = useCallback(
(data: any) => {
if (!data || !data.ItemIds || !data.ItemIds.length) {
if (!data?.ItemIds?.length) {
return;
}
@@ -150,7 +150,7 @@ export const WebSocketProvider = ({ children }: WebSocketProviderProps) => {
}, [connectWebSocket]);
useEffect(() => {
if (!deviceId || !api || !api?.accessToken || !isNetworkConnected) {
if (!deviceId || !api?.accessToken || !isNetworkConnected) {
return;
}