Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

space page initial construct #42

Merged
merged 6 commits into from
Oct 22, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
check for no image tag in desc
  • Loading branch information
M-ZubairAhmed committed Oct 22, 2017
commit abf1974ed7020e43a7e4d1537bc42badc45a1eef
2 changes: 1 addition & 1 deletion components/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default props => {
padding: 5px 20px;
width: 100%;
background: #fff;
z-index: 1000
z-index: 1000;
}
.header__container {
max-width: 1280px;
Expand Down
3 changes: 2 additions & 1 deletion components/row-events.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import PropTypes from 'prop-types';

const extractImageUrl = input => {
const regex = /<img.*?src=['"](.*?)['"]/;
return regex.exec(input)[1];
const matches = regex.exec(input);
return matches ? matches[1] : '';
};

const RowEvent = props => {
Expand Down