Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszjedrasik committed Mar 15, 2021
1 parent ea35d95 commit 0f751b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useUiNotification } from '../../composables';

export const cart = (i18n, router) => {
export const cart = ({ i18n, router }) => {
const addItem = ({ productName, error }) => {
const { send } = useUiNotification();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const sendNotification = () => {
const { i18n, router } = app;

return {
cart: cart(i18n, router)
cart: cart({ i18n, router })
};
};

Expand Down

0 comments on commit 0f751b7

Please sign in to comment.