Browse Source

refactor(api): удалено использование $snackbar в методе throwError

horanchikk 4 tháng trước cách đây
mục cha
commit
53d91695ec
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      repository/api.ts

+ 0 - 1
repository/api.ts

@@ -31,7 +31,6 @@ export class API {
   }
 
   private throwError(request: string, data: TException, body?: unknown) {
-    const { $snackbar } = useNuxtApp()
     const err = {
       info: '',
       request,