merge
This commit is contained in:
parent
5aea0f5f81
commit
f5f9000303
@ -6,7 +6,6 @@ export default class ImageCard extends React.Component {
|
|||||||
|
|
||||||
render() {
|
render() {
|
||||||
const { onClick, onImageLoaded, image, text, description } = this.props;
|
const { onClick, onImageLoaded, image, text, description } = this.props;
|
||||||
console.log(this.props)
|
|
||||||
return (
|
return (
|
||||||
<Card onClick={onClick} className={styles.root}>
|
<Card onClick={onClick} className={styles.root}>
|
||||||
<img src={image} onLoad={onImageLoaded} />
|
<img src={image} onLoad={onImageLoaded} />
|
||||||
|
@ -4,7 +4,6 @@ import Bricks from 'bricks.js';
|
|||||||
import history from '../routing/history';
|
import history from '../routing/history';
|
||||||
import Cards from './Cards';
|
import Cards from './Cards';
|
||||||
import _ from 'lodash';
|
import _ from 'lodash';
|
||||||
import styles from './EntryListing.css'
|
|
||||||
|
|
||||||
export default class EntryListing extends React.Component {
|
export default class EntryListing extends React.Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
@ -77,7 +76,7 @@ export default class EntryListing extends React.Component {
|
|||||||
const { collection, entries } = this.props;
|
const { collection, entries } = this.props;
|
||||||
const name = collection.get('name');
|
const name = collection.get('name');
|
||||||
|
|
||||||
return <div className={styles.root}>
|
return <div>
|
||||||
<h1>Listing {name}</h1>
|
<h1>Listing {name}</h1>
|
||||||
<div ref={(c) => this._entries = c}>
|
<div ref={(c) => this._entries = c}>
|
||||||
{entries.map((entry) => {
|
{entries.map((entry) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user