fix: remove redundant selection api

This commit is contained in:
Anh (Daniel) Le 2024-07-17 18:55:40 +07:00
parent 38c16fe839
commit c3bca21d14
No known key found for this signature in database

View File

@ -19,7 +19,6 @@ export const ToggleVisibilityInput = ({ ...props }: InputProps) => {
const text = inputElement.value;
inputElement.select();
inputElement.setSelectionRange(0, 99999);
navigator.clipboard.writeText(text);
toast.success("Value is copied to clipboard");