File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ interface ArticleListResponse {
1313}
1414
1515const getArticleList = async ( userId : number ) : Promise < ArticleListResponse > => {
16- const response : AxiosResponse < ArticleListResponse > = await axiosInstance . get ( `/news?site-user -id=${ userId } ` ) ;
16+ const response : AxiosResponse < ArticleListResponse > = await axiosInstance . get ( `/news?author -id=${ userId } ` ) ;
1717 return response . data ;
1818} ;
1919
Original file line number Diff line number Diff line change 22
33import { useState } from "react" ;
44
5+ import LinkifyText from "@/components/ui/LinkifyText" ;
6+
57interface InfoSectionProps {
68 semesterRequirement : string ;
79 semesterAvailableForDispatch : string ;
@@ -85,7 +87,9 @@ const InfoSection = ({
8587 </ div >
8688 </ div >
8789 < div className = "pl-11" >
88- < span className = "text-sm font-medium leading-normal text-k-700" > { detailsForApply } </ span >
90+ < span className = "text-sm font-medium leading-normal text-k-700" >
91+ < LinkifyText > { detailsForApply } </ LinkifyText >
92+ </ span >
8993 </ div >
9094 </ div >
9195 ) }
@@ -130,7 +134,9 @@ const InfoSection = ({
130134 </ div >
131135 </ div >
132136 < div className = "pl-11" >
133- < span className = "text-sm font-medium leading-normal text-k-700" > { detailsForAccommodation } </ span >
137+ < span className = "text-sm font-medium leading-normal text-k-700" >
138+ < LinkifyText > { detailsForAccommodation } </ LinkifyText >
139+ </ span >
134140 </ div >
135141 </ div >
136142 ) }
You can’t perform that action at this time.
0 commit comments