styles changes

This commit is contained in:
2025-10-08 12:01:52 -06:00
parent b507eb157b
commit c6c42e914a
15 changed files with 345 additions and 192 deletions
+3 -4
View File
@@ -1,5 +1,6 @@
"use client";
import axios from "axios";
import apiClient from "@/app/lib/apiClient";
import { useEffect, useState } from "react";
export default function RegisterAlta() {
@@ -9,9 +10,7 @@ export default function RegisterAlta() {
useEffect(() => {
const fetchCarreras = async () => {
try {
const response = await axios.get(
"https://venus.acatlan.unam.mx/asignacionTiempo_test/carrera"
);
const response = await apiClient.get("/carrera");
const sortedCarreras = response.data.sort((a: any, b: any) =>
a.carrera.localeCompare(b.carrera)