From e72994ea4c8929ffe51b725a06f91c1a8d2d5320 Mon Sep 17 00:00:00 2001 From: Kyle Needham Date: Tue, 19 Nov 2019 20:26:50 +0000 Subject: [PATCH] umdWrapper updated to new API --- src/umdWrapper.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/umdWrapper.js b/src/umdWrapper.js index 98eceb3..cece881 100644 --- a/src/umdWrapper.js +++ b/src/umdWrapper.js @@ -1,9 +1,10 @@ +import { CssBaseline } from "@material-ui/core"; import { createMuiTheme } from "@material-ui/core/styles"; import { ThemeProvider } from "@material-ui/styles"; import React from "react"; import ReactDOM from "react-dom"; import EmbedWrapper from "./EmbedWrapper"; -import { theme as muiTheme } from "./utils/theme"; +import { default as muiTheme } from "./utils/theme"; const renderProducts = ({ theme, @@ -12,9 +13,9 @@ const renderProducts = ({ productsLimit, filters, cta, - provider, onMoreDetails, onApply, + onFilter, }) => { const element = document.querySelector(selector); @@ -26,14 +27,15 @@ const renderProducts = ({ ReactDOM.render( + , element