Skip to content

Commit

Permalink
fix(toast): id should be a string
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Jun 30, 2022
1 parent 10d89d3 commit 7db0ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/plugins/toast.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 7db0ca5

Please sign in to comment.