File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -219,13 +219,13 @@ const RepositoriesListing = () => {
219219 viewMode === 'grid' ? (
220220 < motion . div className = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5" variants = { containerVariants } >
221221 { projects . map ( ( project ) => (
222- < ProjectCardGrid key = { project ?. _id } project = { project } onClick = { ( e ) => handleRepoClick ( project ?. _id , e ) } formatDate = { formatDate } />
222+ < ProjectCardGrid key = { project ?. id } project = { project } onClick = { ( e ) => handleRepoClick ( project ?. id , e ) } formatDate = { formatDate } />
223223 ) ) }
224224 </ motion . div >
225225 ) : (
226226 < motion . div className = "space-y-4" variants = { containerVariants } >
227227 { projects . map ( ( project ) => (
228- < ProjectCardList key = { project ?. _id } project = { project } onClick = { ( e ) => handleRepoClick ( project ?. _id , e ) } formatDate = { formatDate } />
228+ < ProjectCardList key = { project ?. id } project = { project } onClick = { ( e ) => handleRepoClick ( project ?. id , e ) } formatDate = { formatDate } />
229229 ) ) }
230230 </ motion . div >
231231 )
@@ -332,4 +332,4 @@ const EmptyState = ({ onClear }) => (
332332 </ motion . div >
333333) ;
334334
335- export default RepositoriesListing ;
335+ export default RepositoriesListing ;
You can’t perform that action at this time.
0 commit comments