mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 13:37:58 +01:00
fix unknown target
This commit is contained in:
parent
38ab39f7de
commit
5e88cd8c17
@ -114,15 +114,15 @@ class Interface extends React.Component {
|
|||||||
name: PropTypes.string.isRequired,
|
name: PropTypes.string.isRequired,
|
||||||
muiTheme: PropTypes.object.isRequired,
|
muiTheme: PropTypes.object.isRequired,
|
||||||
allowDragDrop: PropTypes.bool.isRequired,
|
allowDragDrop: PropTypes.bool.isRequired,
|
||||||
actions: PropTypes.arrayOf(PropTypes.shape({ type: PropTypes.string }))
|
actions: PropTypes.arrayOf(PropTypes.shape({ target: PropTypes.string }))
|
||||||
};
|
};
|
||||||
|
|
||||||
static defaultProps = {
|
static defaultProps = {
|
||||||
actions: [{
|
actions: [{
|
||||||
type: 'WIFI_PRINT',
|
target: 'WIFI_PRINT',
|
||||||
title: 'Print over WiFi'
|
title: 'Print over WiFi'
|
||||||
}, {
|
}, {
|
||||||
type: 'DOWNLOAD',
|
target: 'DOWNLOAD',
|
||||||
title: 'Download GCode'
|
title: 'Download GCode'
|
||||||
}],
|
}],
|
||||||
pixelRatio: 1,
|
pixelRatio: 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user