From af22ba4e848f371ccc1e44b8ec341cd8032f0c01 Mon Sep 17 00:00:00 2001 From: SachaG Date: Wed, 13 Sep 2017 12:12:24 +0200 Subject: [PATCH] fix imports --- .../example-customization/lib/components/CustomPostsItem.jsx | 2 +- packages/example-customization/lib/custom_fields.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/example-customization/lib/components/CustomPostsItem.jsx b/packages/example-customization/lib/components/CustomPostsItem.jsx index 253a81c39..174924fcb 100644 --- a/packages/example-customization/lib/components/CustomPostsItem.jsx +++ b/packages/example-customization/lib/components/CustomPostsItem.jsx @@ -2,7 +2,7 @@ import { Components, getRawComponent, replaceComponent } from 'meteor/vulcan:cor import React from 'react'; import { FormattedMessage } from 'meteor/vulcan:i18n'; import { Link } from 'react-router'; -import Posts from "meteor/vulcan:posts"; +import { Posts } from 'meteor/example-forum'; import moment from 'moment'; class CustomPostsItem extends getRawComponent('PostsItem') { diff --git a/packages/example-customization/lib/custom_fields.js b/packages/example-customization/lib/custom_fields.js index c3cfd9664..6bb756ef3 100644 --- a/packages/example-customization/lib/custom_fields.js +++ b/packages/example-customization/lib/custom_fields.js @@ -1,4 +1,4 @@ -import Posts from "meteor/vulcan:posts"; +import { Posts } from 'meteor/example-forum'; /* Let's assign a color to each post (why? cause we want to, that's why).