get error
This commit is contained in:
@@ -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
@@ -13,6 +13,6 @@ export function middleware(request: NextRequest) {
|
||||
}
|
||||
|
||||
export const config = {
|
||||
matcher: ["/AgregarEquipo", "/Escaner"],
|
||||
matcher: [],
|
||||
};
|
||||
//IO
|
||||
|
||||
Reference in New Issue
Block a user