This commit is contained in:
fede committed 2026-06-19 23:04:13 -03:00
1 parent 6c0e44cb45
commit 90e76d4963
11 files changed
+112 -38

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
import { obtenerRepuestos } from '$lib/hooks/repuestos/obtenerRepuestos';
export let ssr = false;
export async function load({ fetch }) {
const repuestos = await obtenerRepuestos(fetch);
let error = '';
if (typeof repuestos === 'string') {
error = repuestos;
}
return {
repuestos: repuestos,
error: error
};
}