Skip to content

Commit

Permalink
fix(queryRules): pass userData as items
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Mar 22, 2019
1 parent e5ccd4d commit 2684259
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/widgets/query-rule-custom-data/query-rule-custom-data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,13 @@ const withUsage = createDocumentationMessageGenerator({
const suit = component('QueryRuleCustomData');

const renderer: QueryRulesRenderer<QueryRuleCustomDataRendererWidgetParams> = ({
userData,
items,
widgetParams,
}) => {
const { container, cssClasses, templates } = widgetParams;

render(
<CustomData
cssClasses={cssClasses}
templates={templates}
items={userData}
/>,
<CustomData cssClasses={cssClasses} templates={templates} items={items} />,
container
);
};
Expand Down

0 comments on commit 2684259

Please sign in to comment.