Skip to content

Commit

Permalink
chore(whitelist): remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
veryCrunchy committed Apr 10, 2024
1 parent 35a8b87 commit cc4fb73
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion components/otp/input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ export default defineComponent({
// Handle cases of backspace, delete, left arrow, right arrow
const handleOnKeyDown = (event: KeyboardEvent, index: number) => {
console.log(event.code);
switch (event.code) {
case "Backspace":
event.preventDefault();
Expand Down
5 changes: 0 additions & 5 deletions pages/minecraft.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ const otpInput = ref<InstanceType<typeof OtpInput> | null>(null);
const bindModal = ref("");
async function handleOnComplete(value: string) {
console.log("OTP completed: ", value);
setTimeout(() => {
otpInput.value?.clearInput();
}, 100);
Expand All @@ -58,9 +57,6 @@ async function handleOnComplete(value: string) {
push.error((e as any).gqlErrors[0].message);
}
}
const change = (value: string) => {
console.log("OTP change: ", value);
};
const user = useUser();
</script>
Expand Down Expand Up @@ -198,7 +194,6 @@ const user = useUser();
:num-inputs="6"
:should-auto-focus="true"
:should-focus-order="true"
@on-change="change"
@on-complete="handleOnComplete"
/>
<p>
Expand Down

0 comments on commit cc4fb73

Please sign in to comment.