display links to the stacked note
This commit is contained in:
7
src/bus/backlinkEventBus.ts
Normal file
7
src/bus/backlinkEventBus.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { createEventBus } from 'retrobus'
|
||||
|
||||
interface EventBusParams {
|
||||
fileSha: string
|
||||
}
|
||||
|
||||
export const backlinkEventBus = createEventBus<EventBusParams>()
|
||||
@@ -7,4 +7,4 @@ interface EventBusParams {
|
||||
currentNoteSHA?: string
|
||||
}
|
||||
|
||||
export const noteEventBus = createEventBus<EventBusParams>('note')
|
||||
export const noteEventBus = createEventBus<EventBusParams>()
|
||||
|
||||
Reference in New Issue
Block a user