From 6e014b20af2ca8be03f69b4ebee5dd1581343aa1 Mon Sep 17 00:00:00 2001 From: Vitalie Braga Date: Tue, 5 Mar 2019 10:07:56 -0800 Subject: [PATCH] Fixing the spread on theme.effects.elevation due to some chnages (#87) --- step2-03/demo/src/components/TodoApp.tsx | 2 +- step2-03/exercise/src/components/TodoApp.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/step2-03/demo/src/components/TodoApp.tsx b/step2-03/demo/src/components/TodoApp.tsx index 914fb03..c952e0b 100644 --- a/step2-03/demo/src/components/TodoApp.tsx +++ b/step2-03/demo/src/components/TodoApp.tsx @@ -10,7 +10,7 @@ let index = 0; const className = mergeStyles({ padding: 25, - ...getTheme().effects.elevation4 + boxShadow: getTheme().effects.elevation4 }); // Uncomment to see loadTheme diff --git a/step2-03/exercise/src/components/TodoApp.tsx b/step2-03/exercise/src/components/TodoApp.tsx index 4d52c64..ed5c097 100644 --- a/step2-03/exercise/src/components/TodoApp.tsx +++ b/step2-03/exercise/src/components/TodoApp.tsx @@ -13,7 +13,7 @@ let index = 0; // TODO: Change this to add other CSS styles like backgroundColor, fontSize, etc const className = mergeStyles({ padding: 25, - ...getTheme().effects.elevation4 + boxShadow: getTheme().effects.elevation4 }); export class TodoApp extends React.Component {