Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JavaEria committed Nov 24, 2018
1 parent ff1dc2e commit b89e0ab
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 b89e0ab

Please sign in to comment.