diff --git a/src/Piano.js b/src/Piano.js
index <HASH>..<HASH> 100644
--- a/src/Piano.js
+++ b/src/Piano.js
@@ -27,7 +27,7 @@ class Piano extends React.Component {
   };
 
   state = {
-    activeNotes: [],
+    activeNotes: this.props.activeNotes || [],
   };
 
   componentDidUpdate(prevProps) {
make Piano use activeNotes prop for initial state