Handle doc load errors

This commit is contained in:
Misode
2024-11-21 00:48:02 +01:00
parent f3de707224
commit 4bc6e758da
2 changed files with 5 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ export function ProjectPanel() {
const [entries, setEntries] = useState<string[]>()
useEffect(() => {
setEntries(undefined)
if (!service) {
return
}