mirror of
https://github.com/Leado123/Leado123.github.io.git
synced 2026-10-01 00:32:59 +00:00
Update App.tsx
This commit is contained in:
@@ -27,7 +27,6 @@ interface Filter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
const navigate = useNavigate();
|
|
||||||
|
|
||||||
|
|
||||||
const [querying, setQuerying] = useState(false);
|
const [querying, setQuerying] = useState(false);
|
||||||
@@ -45,7 +44,6 @@ function App() {
|
|||||||
const { college, professor, class: classParam } = useParams();
|
const { college, professor, class: classParam } = useParams();
|
||||||
|
|
||||||
const [collegeOptions, setCollegeOptions] = useState<School[]>([]);
|
const [collegeOptions, setCollegeOptions] = useState<School[]>([]);
|
||||||
const [initialSearchPerformed, setInitialSearchPerformed] = useState(false);
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (college) {
|
if (college) {
|
||||||
|
|||||||
Reference in New Issue
Block a user