cleanup: eliminado evento sin uso
This commit is contained in:
@@ -38,14 +38,13 @@ export default function Keeper({ tipo }) {
|
||||
useEffect(() => {
|
||||
const storedCoords = JSON.parse(localStorage.getItem(tipo) || "[]");
|
||||
|
||||
console.log(storedCoords);
|
||||
if (storedCoords) {
|
||||
setCoords(storedCoords);
|
||||
}
|
||||
}, [tipo]);
|
||||
|
||||
useEffect(() => {
|
||||
const handlePaste = async (e) => {
|
||||
const handlePaste = async () => {
|
||||
const text = await navigator.clipboard.readText();
|
||||
const regex = /- (.*), X: (-?\d+)(?:\s*Y:\s*(-?\d+))?\s*Z:\s*(-?\d+)/;
|
||||
const match = text.match(regex);
|
||||
|
||||
Reference in New Issue
Block a user