[desktop] RC fixes (#1884)

This commit is contained in:
Manav Rathi 2024-05-27 15:16:04 +05:30 committed by GitHub
commit c7be2270ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 12 deletions

View file

@ -30,7 +30,7 @@
"compare-versions": "^6.1", "compare-versions": "^6.1",
"electron-log": "^5.1", "electron-log": "^5.1",
"electron-store": "^8.2", "electron-store": "^8.2",
"electron-updater": "^6.1", "electron-updater": "^6.2",
"ffmpeg-static": "^5.2", "ffmpeg-static": "^5.2",
"html-entities": "^2.5", "html-entities": "^2.5",
"jpeg-js": "^0.4", "jpeg-js": "^0.4",

View file

@ -743,10 +743,10 @@ buffer@^5.1.0, buffer@^5.5.0:
base64-js "^1.3.1" base64-js "^1.3.1"
ieee754 "^1.1.13" ieee754 "^1.1.13"
builder-util-runtime@9.2.3: builder-util-runtime@9.2.4:
version "9.2.3" version "9.2.4"
resolved "https://registry.yarnpkg.com/builder-util-runtime/-/builder-util-runtime-9.2.3.tgz#0a82c7aca8eadef46d67b353c638f052c206b83c" resolved "https://registry.yarnpkg.com/builder-util-runtime/-/builder-util-runtime-9.2.4.tgz#13cd1763da621e53458739a1e63f7fcba673c42a"
integrity sha512-FGhkqXdFFZ5dNC4C+yuQB9ak311rpGAw+/ASz8ZdxwODCv1GGMWgLDeofRkdi0F3VCHQEWy/aXcJQozx2nOPiw== integrity sha512-upp+biKpN/XZMLim7aguUyW8s0FUpDvOtK6sbanMFDAMBzpHDqdhgVYm6zc9HJ6nWo7u2Lxk60i2M6Jd3aiNrA==
dependencies: dependencies:
debug "^4.3.4" debug "^4.3.4"
sax "^1.2.4" sax "^1.2.4"
@ -1251,12 +1251,12 @@ electron-store@^8.2:
conf "^10.2.0" conf "^10.2.0"
type-fest "^2.17.0" type-fest "^2.17.0"
electron-updater@^6.1: electron-updater@^6.2:
version "6.1.8" version "6.2.1"
resolved "https://registry.yarnpkg.com/electron-updater/-/electron-updater-6.1.8.tgz#17637bca165322f4e526b13c99165f43e6f697d8" resolved "https://registry.yarnpkg.com/electron-updater/-/electron-updater-6.2.1.tgz#1c9adb9ba2a21a5dc50a8c434c45360d5e9fe6c9"
integrity sha512-hhOTfaFAd6wRHAfUaBhnAOYc+ymSGCWJLtFkw4xJqOvtpHmIdNHnXDV9m1MHC+A6q08Abx4Ykgyz/R5DGKNAMQ== integrity sha512-83eKIPW14qwZqUUM6wdsIRwVKZyjmHxQ4/8G+1C6iS5PdDt7b1umYQyj1/qPpH510GmHEQe4q0kCPe3qmb3a0Q==
dependencies: dependencies:
builder-util-runtime "9.2.3" builder-util-runtime "9.2.4"
fs-extra "^10.1.0" fs-extra "^10.1.0"
js-yaml "^4.1.0" js-yaml "^4.1.0"
lazy-val "^1.0.5" lazy-val "^1.0.5"

View file

@ -153,12 +153,12 @@ const Title_ = styled("div")`
`; `;
interface WatchList { interface WatchList {
watches: FolderWatch[]; watches: FolderWatch[] | undefined;
removeWatch: (watch: FolderWatch) => void; removeWatch: (watch: FolderWatch) => void;
} }
const WatchList: React.FC<WatchList> = ({ watches, removeWatch }) => { const WatchList: React.FC<WatchList> = ({ watches, removeWatch }) => {
return watches.length === 0 ? ( return (watches ?? []).length === 0 ? (
<NoWatches /> <NoWatches />
) : ( ) : (
<WatchesContainer> <WatchesContainer>