File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 11import { useState } from 'react' ;
2+ import data from '../data/podMembers' ;
23import Card from './Card' ;
34import styles from '../styles/Pod.module.css' ;
45
56const Pod = ( ) => {
6- const [ podMembers ] = useState ( [
7- { name : 'Angelina Gasharova' , url : '/images/Angelina_Gasharova.jpg' } ,
8- { name : 'Saad Irfan' , url : '/images/saad.jpg' } ,
9- { name : 'Aneesh Kodali' , url : '/images/Aneesh_Kodali.jpeg' } ,
10- { name : 'Nkosilathi_Tauro' , url : '/images/Nkosilathi_Tauro.png' } ,
11- ] ) ;
7+ const [ podMembers ] = useState ( data ) ;
128
139 return (
1410 < div className = { styles . pod_details } >
Original file line number Diff line number Diff line change 1+ module . exports = [
2+ { name : 'Angelina Gasharova' , url : '/images/Angelina_Gasharova.jpg' } ,
3+ { name : 'Saad Irfan' , url : '/images/saad.jpg' } ,
4+ { name : 'Aneesh Kodali' , url : '/images/Aneesh_Kodali.jpeg' } ,
5+ { name : 'Nkosilathi_Tauro' , url : '/images/Nkosilathi_Tauro.png' } ,
6+ ] ;
You can’t perform that action at this time.
0 commit comments