pinafore/routes/_components/dialog/helpers/createDialogId.js

6 lines
71 B
JavaScript

let count = -1
export function createDialogId () {
return ++count
}