expt: disable note metadata

This commit is contained in:
Ren Amamiya
2023-09-02 17:28:05 +07:00
parent 4309f734b6
commit 37668393f1
5 changed files with 6 additions and 11 deletions

View File

@@ -18,7 +18,7 @@ export const SimpleNote = memo(function SimpleNote({ id }: { id: string }) {
const openThread = (event, thread: string) => {
const selection = window.getSelection();
if (selection.toString().length === 0) {
setWidget(db, { kind: WidgetKinds.thread, title: 'Thread', content: thread });
setWidget(db, { kind: WidgetKinds.local.thread, title: 'Thread', content: thread });
} else {
event.stopPropagation();
}