1- import { trpc } from "@/client/lib/trpc " ;
1+ import { FormEvent , useEffect , useState } from "react " ;
22import {
33 Box ,
44 Card ,
@@ -10,24 +10,24 @@ import {
1010} from "@mui/material" ;
1111import { addYears , format , parseISO , subDays } from "date-fns" ;
1212import { useRouter } from "next/router" ;
13- import { useEffect , useState } from "react" ;
14- import Iep from "../../components/iep/Iep" ;
15- import noGoals from "../../public/img/no-goals-icon.png" ;
1613import Image from "next/image" ;
14+
15+ import noGoals from "../../public/img/no-goals-icon.png" ;
1716import $Image from "../../styles/Image.module.css" ;
1817import $CompassModal from "../../components/design_system/modal/CompassModal.module.css" ;
1918import $StudentPage from "../../styles/StudentPage.module.css" ;
20- import { EditStudentModal } from "./EditStudentModal" ;
21- import Chip from "@/components/design_system/chip/Chip" ;
2219
23- import type { NextPageWithBreadcrumbs } from "@/pages/_app " ;
20+ import { trpc } from "@/client/lib/trpc " ;
2421import type { Breadcrumb } from "@/components/design_system/breadcrumbs/Breadcrumbs" ;
2522import { useBreadcrumbsContext } from "@/components/design_system/breadcrumbs/BreadcrumbsContext" ;
2623import Button from "@/components/design_system/button/Button" ;
27-
28- import * as React from "react " ;
24+ import Chip from "@/components/design_system/chip/Chip" ;
25+ import type { NextPageWithBreadcrumbs } from "@/pages/_app " ;
2926import type { Student } from "@/types/global" ;
3027
28+ import { EditStudentModal } from "./EditStudentModal" ;
29+ import Iep from "./Iep" ;
30+
3131const ViewStudentPage : NextPageWithBreadcrumbs = ( ) => {
3232 const { setBreadcrumbs } = useBreadcrumbsContext ( ) ;
3333 const [ open , setOpen ] = useState ( false ) ;
@@ -90,7 +90,7 @@ const ViewStudentPage: NextPageWithBreadcrumbs = () => {
9090 onSuccess : ( ) => utils . student . getActiveStudentIep . invalidate ( ) ,
9191 } ) ;
9292
93- const handleEditStudent = ( e : React . FormEvent < HTMLFormElement > ) => {
93+ const handleEditStudent = ( e : FormEvent < HTMLFormElement > ) => {
9494 e . preventDefault ( ) ;
9595 const data = new FormData ( e . currentTarget as HTMLFormElement ) ;
9696
@@ -141,7 +141,7 @@ const ViewStudentPage: NextPageWithBreadcrumbs = () => {
141141 setEndDate ( formattedEndDate ) ;
142142 } ;
143143
144- const handleIepSubmit = ( event : React . FormEvent < HTMLFormElement > ) => {
144+ const handleIepSubmit = ( event : FormEvent < HTMLFormElement > ) => {
145145 event . preventDefault ( ) ;
146146 const data = new FormData ( event . currentTarget ) ;
147147
0 commit comments