mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-18 22:11:43 +01:00
fix(toast): id should be a string
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user