From 9013ea38ca549245442ef18aac199f9431973b60 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 20 Feb 2019 23:36:30 +0300 Subject: Refactor memo components --- vnext/src/components/Button.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vnext/src/components/Button.js') diff --git a/vnext/src/components/Button.js b/vnext/src/components/Button.js index 4152108b..18cab0a7 100644 --- a/vnext/src/components/Button.js +++ b/vnext/src/components/Button.js @@ -2,8 +2,10 @@ import React from 'react'; import './Button.css'; -export default function Button(props) { +function Button(props) { return (