Skip to content

Commit

Permalink
replace alert
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Perezhogin committed Jan 5, 2020
1 parent 286a1c0 commit 8f97db6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
padding: 0 25px;
}
.el-notification {
width: 290px;
}
.auth {
display: flex;
flex-direction: column;
Expand Down
4 changes: 3 additions & 1 deletion src/services/errors.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { Notification } from 'element-ui'

export const errorHandler = (error) => {
alert(error)
Notification.error(error);
}

0 comments on commit 8f97db6

Please sign in to comment.