mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
chore: bump version (#3623)
This commit is contained in:
@@ -526,12 +526,12 @@ export const evaluatePluginEntry = (pluginName: string) => {
|
||||
}
|
||||
);
|
||||
addCleanup(pluginName, () => {
|
||||
// todo: unregister
|
||||
AffineFormatBarWidget.customElements.delete(register);
|
||||
cleanup();
|
||||
});
|
||||
return div;
|
||||
};
|
||||
AffineFormatBarWidget.customElements.push(register);
|
||||
AffineFormatBarWidget.customElements.add(register);
|
||||
} else {
|
||||
throw new Error(`Unknown part: ${part}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user