diff --git a/src/interface/index.js b/src/interface/index.js index 4b2edee..fc8e96d 100644 --- a/src/interface/index.js +++ b/src/interface/index.js @@ -114,15 +114,15 @@ class Interface extends React.Component { name: PropTypes.string.isRequired, muiTheme: PropTypes.object.isRequired, allowDragDrop: PropTypes.bool.isRequired, - actions: PropTypes.arrayOf(PropTypes.shape({ type: PropTypes.string })) + actions: PropTypes.arrayOf(PropTypes.shape({ target: PropTypes.string })) }; static defaultProps = { actions: [{ - type: 'WIFI_PRINT', + target: 'WIFI_PRINT', title: 'Print over WiFi' }, { - type: 'DOWNLOAD', + target: 'DOWNLOAD', title: 'Download GCode' }], pixelRatio: 1,