fix(toast): id should be a string

This commit is contained in:
Benjamin Canac
2022-06-30 17:47:41 +02:00
parent 10d89d3cd1
commit 7db0ca50a0

View File

@@ -7,7 +7,7 @@ export default defineNuxtPlugin((nuxtApp) => {
function addNotification (notification: Partial<ToastNotification>) {
const body = {
id: new Date().getTime(),
id: new Date().getTime().toString(),
...notification
}