✨ (new version) display button if there is a new version.
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
export enum BusEvent {
|
||||
NEW_VERSION = 'NEW_VERSION'
|
||||
}
|
||||
3
src/bus/serviceWorkerEventBus.ts
Normal file
3
src/bus/serviceWorkerEventBus.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import { createEventBus } from 'retrobus'
|
||||
|
||||
export const serviceWorkerBusEvent = createEventBus<void>('new-version')
|
||||
Reference in New Issue
Block a user