Skip to content

Commit

Permalink
fix(point-of-sale): improved performance
Browse files Browse the repository at this point in the history
  • Loading branch information
JustSamuel committed Jun 19, 2024
1 parent 508d5de commit de8d803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/point-of-sale/src/views/LoginView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const handleInput = (value: string) => {
if (pinCode.value.length >= maxPasscodeLength) return;
pinCode.value += value;
if (pinCode.value.length === maxPasscodeLength) {
setTimeout(() => login(), 500);
login();
}
}
};
Expand Down

0 comments on commit de8d803

Please sign in to comment.