(new version) display button if there is a new version.

This commit is contained in:
Julien Calixte
2021-03-28 10:44:56 +02:00
parent a2a51cc19d
commit 23342ead0e
8 changed files with 49 additions and 9 deletions

10
src/bus/noteEventBus.ts Normal file
View File

@@ -0,0 +1,10 @@
import { createEventBus } from 'retrobus'
interface EventBusParams {
user: string
repo: string
path: string
currentNoteSHA?: string
}
export const noteEventBus = createEventBus<EventBusParams>('note')