mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-09-05 14:51:07 +00:00
Fix deprecated i18n api (#398)
This commit is contained in:
+2
-2
@@ -185,7 +185,7 @@ export const useExpenseStore = (useWindow = false) => {
|
||||
|
||||
notificationStore.showNotification({
|
||||
type: 'success',
|
||||
message: global.tc('expenses.deleted_message', 1),
|
||||
message: global.t('expenses.deleted_message', 1),
|
||||
})
|
||||
resolve(response)
|
||||
})
|
||||
@@ -211,7 +211,7 @@ export const useExpenseStore = (useWindow = false) => {
|
||||
})
|
||||
notificationStore.showNotification({
|
||||
type: 'success',
|
||||
message: global.tc('expenses.deleted_message', 2),
|
||||
message: global.t('expenses.deleted_message', 2),
|
||||
})
|
||||
resolve(response)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user