Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 1518 | Rev 1537 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1518 Rev 1535
Línea 6... Línea 6...
6
import {axios} from "../../../utils";
6
import {axios} from "../../../utils";
7
import { addNotification } from "../../../redux/notification/notification.actions";
7
import { addNotification } from "../../../redux/notification/notification.actions";
8
import Spinner from "../../../shared/loading-spinner/Spinner";
8
import Spinner from "../../../shared/loading-spinner/Spinner";
9
import AppliedJob from "./applied-job/AppliedJob";
9
import AppliedJob from "./applied-job/AppliedJob";
10
import ProfileCard from "../../../profile/my-profiles/my-profiles/profile/Profile";
10
import ProfileCard from "../../../profile/my-profiles/my-profiles/profile/Profile";
-
 
11
import SearchList from "../../../components/SearchList";
Línea 11... Línea 12...
11
 
12
 
12
const StyledSpinnerContainer = styled.div`
13
const StyledSpinnerContainer = styled.div`
13
  position: absolute;
14
  position: absolute;
14
  left: 0;
15
  left: 0;
Línea 86... Línea 87...
86
        }
87
        }
87
      });
88
      });
88
    setLoading(false);
89
    setLoading(false);
89
  };
90
  };
Línea 90... Línea -...
90
 
-
 
91
  const handleSearch = () => {
-
 
92
    //  (getValues());
-
 
93
    clearTimeout(axiosThrottle);
-
 
94
    // setLoading(true);
-
 
95
    const searchValue = getValues("search");
-
 
96
    axiosThrottle = setTimeout(() => {
-
 
97
      fetchAppliedJobs(searchValue);
-
 
98
    }, 500);
91
 
Línea 99... Línea 92...
99
  };
92
  
100
 
93
 
101
  return (
94
  return (
-
 
95
    <section className="companies-info" style={{ position: "relative" }}>
-
 
96
      <div className="container">
-
 
97
        <SearchList
-
 
98
          title="Que he aplicado"
102
    <section className="companies-info" style={{ position: "relative" }}>
99
          fetchCallback={fetchAppliedJobs}
103
      <div className="container">
100
        />
104
        <div className="company-title">
101
        {/* <div className="company-title">
105
          <div className="section_admin_title_buttons">
102
          <div className="section_admin_title_buttons">
106
            <div style={{ float: "left" }}>
103
            <div style={{ float: "left" }}>
107
              <h1 className="title">Que he aplicado</h1>
104
              <h1 className="title">Que he aplicado</h1>
Línea 121... Línea 118...
121
                ref={register}
118
                ref={register}
122
                onChange={handleSearch}
119
                onChange={handleSearch}
123
              />
120
              />
124
            </div>
121
            </div>
125
          </div>
122
          </div>
126
        </div>
123
        </div> */}
127
        <div
124
        <div
128
          className="companies-list"
125
          className="companies-list"
129
          style={{
126
          style={{
130
            padding: "0 15px",
127
            padding: "0 15px",
131
          }}
128
          }}