Remove unnecessary props
This commit is contained in:
parent
aff418f890
commit
4a7fec4ba3
1 changed files with 1 additions and 3 deletions
|
@ -11,9 +11,7 @@ export default function LampButtonToggle(props) {
|
|||
<Button
|
||||
style={{ height: 130, width: 130, marginRight: 20 }}
|
||||
variant="contained"
|
||||
color="primary"
|
||||
href="#contained-buttons"
|
||||
size="large"
|
||||
color="secondary"
|
||||
endIcon={<EmojiObjectsIcon />}
|
||||
onClick={() => {
|
||||
comConnection.port.write(props.title);
|
||||
|
|
Reference in a new issue