mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-25 08:06:51 +00:00
Handle doc load errors
This commit is contained in:
@@ -26,6 +26,7 @@ export function ProjectPanel() {
|
||||
|
||||
const [entries, setEntries] = useState<string[]>()
|
||||
useEffect(() => {
|
||||
setEntries(undefined)
|
||||
if (!service) {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user