diff --git a/plugins/cartUpdater.js b/plugins/cartUpdater.js index 23d155a0..a654f6ac 100644 --- a/plugins/cartUpdater.js +++ b/plugins/cartUpdater.js @@ -7,7 +7,7 @@ export default defineNuxtPlugin((nuxtApp) => { cart.refetch(); // Refetch cart data on route change - nuxtApp.$router.beforeEach((to, from, next) => { + nuxtApp.$router.beforeEach((_to, _from, next) => { cart.refetch(); next(); });