File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import Contact from './component/Contact'
55import Header from './component/Header' ;
66import Footer from './component/Footer' ;
77import ReactGA from 'react-ga' ;
8- const TRACKING_ID = "UA-180090671-1" ; // OUR_TRACKING_ID
8+ const TRACKING_ID = process . env . REACT_APP_G_ANALYTICS_ID // OUR_TRACKING_ID
99 ReactGA . initialize ( TRACKING_ID ) ;
1010 ReactGA . pageview ( window . location . pathname ) ;
1111function App ( ) {
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const SocialMedia = () => {
3434 < h2 className = 'text-center font-bold text-xl underline' > Social media</ h2 >
3535 < div className = 'flex justify-center gap-x-2' >
3636 { SocialIcons . map ( ( item ) => (
37- < div className = 'cursor-pointer' onClick = { ( ) => openUrl ( item . url ) } > < img className = 'w-10 h-10' alt = { item . name } src = { item . img } /> </ div >
37+ < div key = { item . id } className = 'cursor-pointer' onClick = { ( ) => openUrl ( item . url ) } > < img className = 'w-10 h-10' alt = { item . name } src = { item . img } /> </ div >
3838 ) ) }
3939 </ div >
4040 </ div >
You can’t perform that action at this time.
0 commit comments