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

5 lines
70 B
JavaScript

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