diff --git a/demo/client/demo.js b/demo/client/demo.js index 9b4b5b37..a2ad94ea 100644 --- a/demo/client/demo.js +++ b/demo/client/demo.js @@ -1,9 +1,9 @@ -/* eslint-disable no-magic-numbers */ +/* eslint-disable no-magic-numbers, react/no-multi-comp */ import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import chunk from 'lodash.chunk'; -import { Link, Fragment } from '../../src'; +import { Link, Fragment, push } from '../../src'; import styles from './demo.css'; const COLUMN_COUNT = 2; @@ -18,7 +18,7 @@ const columnize = (array, columns) => { ); }; -const Gallery = ({ images, columns, ...rest }) => +const Gallery = ({ columns, images = [], ...rest }) =>
{location.params.term}
)} +Your query: {location.query.term}
)} +