File tree Expand file tree Collapse file tree 4 files changed +3
-4
lines changed
Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import useStyles from './styles';
2323const RouteTitled = ( { title, ...rest } ) => {
2424 useEffect ( ( ) => {
2525 if ( title ) {
26- document . title = ' Civic Tech Index — ' + title ;
26+ document . title = ` Civic Tech Index — ${ title } `
2727 }
2828 } ) ;
2929
@@ -53,7 +53,7 @@ const App = () => {
5353 < Route exact path = '/organization/:name' component = { IndvOrgPage } />
5454 { /* test and error page routes begin */ }
5555 < RouteTitled path = '/guides/:guide' component = { Guides } title = 'Guides' />
56- < Route path = '/404' component = { Error404 } />
56+ < RouteTitled path = '/404' component = { Error404 } title = '404' />
5757 { /* test and error page routes end */ }
5858 < Redirect from = '/add' to = '/join-index/how-to-add' />
5959 < Redirect from = '/adding' to = '/join-index/how-to-add' />
Original file line number Diff line number Diff line change @@ -244,7 +244,6 @@ const Thumbnail = ({
244244 >
245245 < Link
246246 href = { `/organization/${ organization . slug } ` }
247- target = '_blank'
248247 rel = 'noreferrer noopener'
249248 >
250249 { organization . name ? organization . name : organization }
Original file line number Diff line number Diff line change @@ -160,7 +160,6 @@ export const Affiliated = (props) => {
160160 >
161161 < Link
162162 href = '/organization/code-for-all'
163- target = '_blank'
164163 rel = 'noreferrer noopener'
165164 >
166165 Code for All
Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ const IndvOrgPage = ({ match }) => {
120120 } ;
121121 setupBreadCrumbs ( ) ;
122122
123+ document . title = `Civic Tech Index — ${ name } `
123124 setOrgName ( name ) ;
124125 setNotFound ( false ) ;
125126 setImageUrl ( imageUrl ) ;
You can’t perform that action at this time.
0 commit comments