Skip to content

Commit

Permalink
Merge pull request #229 from recurship/issue/210
Browse files Browse the repository at this point in the history
209 minor fixes
  • Loading branch information
mashhoodr authored Dec 7, 2018
2 parents 1370df5 + b89e0ab commit 9dfec7e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions client/src/containers/Events/Events.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ import DropSearch, {
State as DropSearchState,
} from '../../components/DropSearch/DropSearch';

const mainTitle = 'Portal for Tech Communities';
const eventNotFound = 'No events found.';

type Props = BaseReduxPropTypes & {
userState: Object,
events: Object,
Expand Down Expand Up @@ -86,8 +89,7 @@ class Events extends Component<Props> {
return (
<div>
<Jumbotron>
<h3 className="text-center">Welcome to Event Management</h3>
<h6 className="text-center">Portal for Open Source Communities</h6>
<h3 className="text-center">{mainTitle}</h3>
</Jumbotron>
<Container>
<Row>
Expand All @@ -104,7 +106,7 @@ class Events extends Component<Props> {
<EventList events={events.events} />
) : (
<Container>
<h4 className="text-center">No events found.</h4>
<h4 className="text-center">{eventNotFound}</h4>
</Container>
)}
</div>
Expand Down

0 comments on commit 9dfec7e

Please sign in to comment.