We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2cc5d7 commit dca1f13Copy full SHA for dca1f13
src/pages/Students.js
@@ -7,7 +7,7 @@ function Students() {
7
8
9
const [state,setState] = useState("2021");
10
- const {data} = useFetch(`/dept/${useParams()?.dept}/Student`);
+ const {data} = useFetch(`/dept/${useParams()?.dept}/Student/?q=${state}`);
11
12
return (
13
<div className='w-[98%] rounded-[9px] border border-[rgba(0,105,140,0.2)] p-4 mx-1 xl:mx-3 my-[60px] pt-[54px] place-items-center'>
0 commit comments