get error

This commit is contained in:
2025-10-31 18:36:34 -06:00
parent 7b6a8b0668
commit 5c3c3d1e5d
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -46,6 +46,7 @@ export default function Dashboard() {
}
} catch (error) {
toast.error("Error No se encontro el equipo");
router.push(`/AgregarEquipo?equipoId=${code}`);
}
toast(`${code}`);
};
+1 -1
View File
@@ -13,6 +13,6 @@ export function middleware(request: NextRequest) {
}
export const config = {
matcher: ["/AgregarEquipo", "/Escaner"],
matcher: [],
};
//IO