File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
course-matrix/frontend/src/pages/Home Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ const TimetableCard = ({
6767
6868 const [ timetableCardTitle , setTimetableCardTitle ] = useState ( title ) ;
6969 const [ isEditingTitle , setIsEditingTitle ] = useState ( false ) ;
70- const { data, refetch} = useGetTimetableQuery ( timetableId ) ;
70+ const { data, refetch } = useGetTimetableQuery ( timetableId ) ;
7171 const [ toggled , setToggled ] = useState ( favorite ) ;
7272
7373 const handleSave = async ( ) => {
@@ -147,7 +147,19 @@ const TimetableCard = ({
147147 </ CardHeader >
148148 < CardContent className = "-mt-3" >
149149 < CardDescription className = "flex justify-between text-xs" >
150- < div > Last edited { < div > Last edited { convertTimestampToLocaleTime ( lastEditedDate . toISOString ( ) ) . split ( "," ) [ 0 ] } </ div > } </ div >
150+ < div >
151+ Last edited{ " " }
152+ {
153+ < div >
154+ Last edited{ " " }
155+ {
156+ convertTimestampToLocaleTime (
157+ lastEditedDate . toISOString ( ) ,
158+ ) . split ( "," ) [ 0 ]
159+ }
160+ </ div >
161+ }
162+ </ div >
151163 < div > Owned by: { ownerUsername } </ div >
152164 </ CardDescription >
153165 </ CardContent >
You can’t perform that action at this time.
0 commit comments