Cleaned global app warnings
This commit is contained in:
@@ -3,6 +3,7 @@ import { Query } from '../search/query'
|
||||
import { searchEngine } from '../search/omnisearch'
|
||||
import { makeExcerpt } from './text-processing'
|
||||
import { refreshIndex } from '../notes-index'
|
||||
import { getObsidianApp } from '../stores/obsidian-app'
|
||||
|
||||
type ResultNoteApi = {
|
||||
score: number
|
||||
@@ -19,6 +20,8 @@ export type SearchMatchApi = {
|
||||
offset: number
|
||||
}
|
||||
|
||||
const app = getObsidianApp()
|
||||
|
||||
let notified = false
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user