From 3985e35b5210f3818dcb92cd1afee810c28e976a Mon Sep 17 00:00:00 2001 From: Peng Jie Date: Tue, 3 Oct 2017 22:06:01 -0500 Subject: [PATCH] Use spread operator (#95) * Use spread operator replace Object.assign() * Fix tag name --- components/Button.js | 14 ++++++-------- components/Carbon.js | 2 +- components/Meta.js | 2 +- pages/editor.js | 2 +- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/components/Button.js b/components/Button.js index be4dcb0..4f730fb 100644 --- a/components/Button.js +++ b/components/Button.js @@ -4,14 +4,12 @@ import { COLORS } from '../lib/constants' export default props => (