aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Button.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/components/Button.js')
-rw-r--r--vnext/src/components/Button.js4
1 files changed, 3 insertions, 1 deletions
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 (
<button className="Button" {...props} />
);
}
+
+export default React.memo(Button);