Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • reactapp/src/Pages/Faculty.js

    r3b6962d raf801e3  
    1616import SubjectsAccordion from "../Components/SubjectsAccordion";
    1717import { CurrentPageNav } from "../Components/Styled/Main.style";
     18import LoadingSpinner from "../Components/Styled/LoadingSpinner.style";
    1819
    1920const Faculty = () => {
     
    2728
    2829  useEffect(() => {
    29     const urlProfessors = `http://192.168.0.19:8080/public/professors?facultyId=${params.facultyId}`;
    30     const urlStudyProgrammes = `http://192.168.0.19:8080/public/study_programmes?facultyId=${params.facultyId}`;
     30    const urlProfessors = `http://192.168.0.29:8080/public/professors?facultyId=${params.facultyId}`;
     31    const urlStudyProgrammes = `http://192.168.0.29:8080/public/study_programmes?facultyId=${params.facultyId}`;
    3132
    3233    const fetchDataProfessors = async () => {
     
    224225  ) : !fetchError && !loadedProfessors ? (
    225226    <div>
    226       <p style={{ marginTop: "140px" }}>се вчитува...</p>
     227      <LoadingSpinner style={{ marginTop: "140px" }}/>
    227228      <Outlet />
    228229    </div>
Note: See TracChangeset for help on using the changeset viewer.