fix: deleting unnecessary log

This commit is contained in:
Aslam H
2024-09-09 19:38:43 +07:00
parent 4765447ccd
commit 4347037589
8 changed files with 0 additions and 11 deletions

View File

@@ -167,7 +167,6 @@ const LinkList: React.FC<LinkListProps> = ({ activeItemIndex, setActiveItemIndex
return newIndex
})
} else if (e.key === "Enter" && !disableEnterKey) {
console.log("Enter key pressed")
e.preventDefault()
if (activeItemIndex !== null) {
const activeLink = sortedLinks[activeItemIndex]

View File

@@ -135,7 +135,6 @@ export const LinkForm: React.FC<LinkFormProps> = ({
shouldValidate: true
})
form.setFocus("title")
console.log(form.formState.isValid, "form state after....")
} catch (err) {
console.error("Failed to fetch metadata", err)
} finally {