Skip to content

Commit

Permalink
fix: undefined check for GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgurney committed Oct 6, 2024
1 parent 2e2a28c commit a1ee5ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/ImportExport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ export async function importFromCallout(plugin: NoteToolbarPlugin, callout: stri
visibility: DEFAULT_ITEM_VISIBILITY_SETTINGS,
};

toolbar.items.push(toolbarItem);
toolbar?.items.push(toolbarItem);

}

Expand Down

0 comments on commit a1ee5ec

Please sign in to comment.