unicorn-demo-app 8.0.1-snapshot.7508 → 8.0.1-snapshot.7510

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unicorn-demo-app",
3
- "version": "8.0.1-snapshot.7508",
3
+ "version": "8.0.1-snapshot.7510",
4
4
  "main": "src/index.js",
5
5
  "author": "Ethan Sharabi <ethan.shar@gmail.com>",
6
6
  "license": "MIT",
@@ -1,5 +1,11 @@
1
1
  import _ from 'lodash';
2
- import {data} from './MockData';
2
+ let data;
3
+ try {
4
+ data = require('./MockData').data;
5
+ } catch (error) {
6
+ console.warn('Error loading MockData', error);
7
+ data = [];
8
+ }
3
9
 
4
10
  const PAGE_SIZE = 400;
5
11
  const FAKE_FETCH_TIME = 1500;