Skip to content

Commit

Permalink
fix: removing notificationmanager and replacing with toast
Browse files Browse the repository at this point in the history
  • Loading branch information
pbullhove committed Jul 14, 2023
1 parent d2a90d0 commit 08155c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dm-core/src/hooks/useDocument.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export function useDocument<T>(
.then(() => {
setDocument(newDocument)
setError(null)
if (notify) NotificationManager.success('Document updated')
toast.success('Document updated')
})
.catch((error: AxiosError<ErrorResponse>) => {
console.error(error)
Expand Down

0 comments on commit 08155c4

Please sign in to comment.