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
|
classId: string
|
||||||
) => {
|
) => {
|
||||||
return makeRequest(
|
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) => {
|
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>
|
</Button>
|
||||||
<div className="flex md:hidden items-center gap-2">
|
<div className="flex md:hidden items-center gap-2">
|
||||||
<div className="space-x-2">
|
<div className="space-x-2">
|
||||||
{/* <Button
|
<Button
|
||||||
variant="outline"
|
variant="outline"
|
||||||
size="icon"
|
size="icon"
|
||||||
className="h-10 w-10"
|
className="h-10 w-10"
|
||||||
|
|
@ -207,7 +207,7 @@ export default function ColleDetailPage() {
|
||||||
className={`h-5 w-5 ${isReloading ? "animate-spin" : ""}`}
|
className={`h-5 w-5 ${isReloading ? "animate-spin" : ""}`}
|
||||||
/>
|
/>
|
||||||
<span className="sr-only">Recharger</span>
|
<span className="sr-only">Recharger</span>
|
||||||
</Button> */}
|
</Button>
|
||||||
{syllabusLink && (
|
{syllabusLink && (
|
||||||
<Button
|
<Button
|
||||||
variant="outline"
|
variant="outline"
|
||||||
|
|
@ -279,7 +279,7 @@ export default function ColleDetailPage() {
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{/* <Button
|
<Button
|
||||||
variant="outline"
|
variant="outline"
|
||||||
size="sm"
|
size="sm"
|
||||||
className="h-9 w-9"
|
className="h-9 w-9"
|
||||||
|
|
@ -291,7 +291,7 @@ export default function ColleDetailPage() {
|
||||||
className={`h-4 w-4 ${isReloading ? "animate-spin" : ""}`}
|
className={`h-4 w-4 ${isReloading ? "animate-spin" : ""}`}
|
||||||
/>
|
/>
|
||||||
<span className="sr-only">Recharger</span>
|
<span className="sr-only">Recharger</span>
|
||||||
</Button> */}
|
</Button>
|
||||||
|
|
||||||
{/* <Button
|
{/* <Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue