catch error

pull/4355/head
filip mertens 11 months ago
parent a6c68559b2
commit d872029740
  1. 3
      libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx

@ -82,8 +82,11 @@ function HomeTabFile({ plugin }: HomeTabFileProps) {
deleteSavedWorkspace(deletedName)
})
return () => {
try {
plugin.off('filePanel', 'setWorkspace')
plugin.off('filePanel', 'workspaceDeleted')
} catch (e) {
}
}
}, [plugin])

Loading…
Cancel
Save