Skip to content

Commit

Permalink
fix: missing getState on useConfigStore under updateCardDetails (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiremitrov123 authored Jan 15, 2024
1 parent 5566058 commit ce32908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/AccountController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ export default class AccountController {
expYear: number;
currency: string;
}) => {
const { isSandbox } = useConfigStore();
const { isSandbox } = useConfigStore.getState();
const { getAccountInfo } = useAccountStore.getState();

const { customerId } = getAccountInfo();
Expand Down

0 comments on commit ce32908

Please sign in to comment.