diff --git a/src/views/WorkspaceSnippetsExplorerView.ts b/src/views/WorkspaceSnippetsExplorerView.ts index a92cc6c..48a2f4e 100644 --- a/src/views/WorkspaceSnippetsExplorerView.ts +++ b/src/views/WorkspaceSnippetsExplorerView.ts @@ -25,5 +25,5 @@ export default class WorkspaceSnippetsExplorerView extends BasicSnippetsExplorer } export function refresh() { - snippetsExplorerView.refresh(); + snippetsExplorerView?.refresh(); }