Skip to content

Commit

Permalink
fix: use setHeading instead of creating a h3 component
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuhito committed Apr 11, 2024
1 parent b55b098 commit 1483247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default class FontsourceSettingsTab extends PluginSettingTab {
'monospace',
);

containerEl.createEl('h3', { text: 'Imported fonts' });
new Setting(containerEl).setName('Imported fonts').setHeading();

// Remove font from settings
const removeFromSettings = <T extends { id: string }>(
Expand Down

0 comments on commit 1483247

Please sign in to comment.