diff --git a/app/(private)/Impresiones/page.tsx b/app/(private)/Impresiones/page.tsx index d40abda..7bbb6de 100644 --- a/app/(private)/Impresiones/page.tsx +++ b/app/(private)/Impresiones/page.tsx @@ -33,7 +33,6 @@ export default async function Page(props: { if (numAcount) { const result = await GetStudentWhitoutSancion(parseInt(numAcount)); - if (result.error) { errorMessage = `${result.error}`; } else { @@ -84,6 +83,7 @@ export default async function Page(props: { label: "Impresiones color", content: ( -
-
+
+ diff --git a/app/page.tsx b/app/page.tsx index a70edd3..fec76bf 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,5 +1,5 @@ import Login from "./Components/auth/Login/Login"; -import BackgroundRotator from "./Components/layout/BackgroundRotator.tsx/BackgroundRotator"; +import BackgroundRotator from "./Components/layout/BackgroundRotator/BackgroundRotator"; import { LoginRedirect } from "./Routes/LoginRedirect"; export default function Home() { diff --git a/tsconfig.json b/tsconfig.json index e7ff3a2..f7a0507 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -34,7 +34,7 @@ "**/*.tsx", ".next/types/**/*.ts", ".next/dev/types/**/*.ts" - ], +, "app/Components/layout/BackgroundRotator" ], "exclude": [ "node_modules" ]