Fix build errors and warnings

- Fix optional chain expression errors in DownloadedScriptsTab, ScriptsGrid, and colorUtils
- Fix React hooks dependency warnings in InstalledScriptsTab
- Update useCallback dependency array to include containerStatusMutation
- Update useEffect dependency array to include fetchContainerStatuses
- Build now passes successfully with no errors or warnings
This commit is contained in:
Michel Roegl-Brunner
2025-10-14 09:06:37 +02:00
parent e3fccca0fc
commit 08e0c82f4e
4 changed files with 5 additions and 5 deletions

View File

@@ -571,7 +571,7 @@ export function ScriptsGrid({ onInstallScript }: ScriptsGridProps) {
);
}
if (!scriptsWithStatus || scriptsWithStatus.length === 0) {
if (!scriptsWithStatus?.length) {
return (
<div className="text-center py-12">
<div className="text-muted-foreground">