Compare commits
2 commits
a2fce34a87
...
38833a7fce
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
38833a7fce | ||
|
|
fadf68152d |
2 changed files with 6 additions and 6 deletions
|
|
@ -92,12 +92,12 @@ export const getStudentMatch = async (
|
|||
classId: string
|
||||
) => {
|
||||
return makeRequest(
|
||||
`/api/match-student?firstName=${firstName}&lastName=${lastName}&classId=${classId}`
|
||||
`/users/match-student?firstName=${firstName}&lastName=${lastName}&classId=${classId}`
|
||||
);
|
||||
};
|
||||
|
||||
export const mergeStudent = async (studentId: string) => {
|
||||
return makePostRequest("/api/merge-student", { pastStudentId: studentId });
|
||||
return makePostRequest("/users/merge-student", { pastStudentId: studentId });
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -196,7 +196,7 @@ export default function ColleDetailPage() {
|
|||
</Button>
|
||||
<div className="flex md:hidden items-center gap-2">
|
||||
<div className="space-x-2">
|
||||
{/* <Button
|
||||
<Button
|
||||
variant="outline"
|
||||
size="icon"
|
||||
className="h-10 w-10"
|
||||
|
|
@ -207,7 +207,7 @@ export default function ColleDetailPage() {
|
|||
className={`h-5 w-5 ${isReloading ? "animate-spin" : ""}`}
|
||||
/>
|
||||
<span className="sr-only">Recharger</span>
|
||||
</Button> */}
|
||||
</Button>
|
||||
{syllabusLink && (
|
||||
<Button
|
||||
variant="outline"
|
||||
|
|
@ -279,7 +279,7 @@ export default function ColleDetailPage() {
|
|||
</Button>
|
||||
)}
|
||||
|
||||
{/* <Button
|
||||
<Button
|
||||
variant="outline"
|
||||
size="sm"
|
||||
className="h-9 w-9"
|
||||
|
|
@ -291,7 +291,7 @@ export default function ColleDetailPage() {
|
|||
className={`h-4 w-4 ${isReloading ? "animate-spin" : ""}`}
|
||||
/>
|
||||
<span className="sr-only">Recharger</span>
|
||||
</Button> */}
|
||||
</Button>
|
||||
|
||||
{/* <Button
|
||||
variant="ghost"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue