mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-29 19:30:37 +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>) {
|
function addNotification (notification: Partial<ToastNotification>) {
|
||||||
const body = {
|
const body = {
|
||||||
id: new Date().getTime(),
|
id: new Date().getTime().toString(),
|
||||||
...notification
|
...notification
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user