mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-19 17:55:18 +02:00
Replace the notify store with 2fauth/ui notifier & 2fauth/stores parser
This commit is contained in:
5
resources/js/app.js
vendored
5
resources/js/app.js
vendored
@@ -75,10 +75,11 @@ app
|
||||
.component('Kicker', Kicker)
|
||||
|
||||
// Global error handling
|
||||
// import { useNotifyStore } from '@/stores/notify'
|
||||
// import { useNotify } from '@2fauth/ui'
|
||||
// if (process.env.NODE_ENV != 'development') {
|
||||
// app.config.errorHandler = (err) => {
|
||||
// useNotifyStore().error(err)
|
||||
// useNotify().parse(err)
|
||||
// router.push({ name: 'genericError' })
|
||||
// }
|
||||
// }
|
||||
|
||||
|
Reference in New Issue
Block a user