Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Linter Compliant with Component Usage for MarkdownRenderer #735

Merged
merged 1 commit into from
May 25, 2023

Conversation

pjkaufman
Copy link
Collaborator

Fixes #734

There was a change in the most recent update of Obsidian that helps prevent memory leaks and other issues. It added a warning for not using a component when using renderMarkdown. To make sure we are compliant and prevent the risk of a memory leak, a component (a settings tab component) is used to make sure things are loaded and unloaded properly for UI components which are used form the settings page.

Changes Made:

  • Updated renderMarkdown to now get a the component to control the existence of the markdown on
  • Populated the change to params up
  • Updated esbuild to make sure it ignored the proper import for generating docs.

@pjkaufman pjkaufman self-assigned this May 25, 2023
@pjkaufman pjkaufman merged commit 0aaad3e into platers:master May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Too many warning inside develop tool
1 participant