Skip to content

Commit de541fa

Browse files
committed
fix build error with logger
1 parent 56f3304 commit de541fa

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

ethernet-view/src/components/FormComponents/Button/Button.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ type Props = {
1212
};
1313

1414
export const Button = ({
15-
label,
15+
label = undefined,
1616
icon = undefined,
1717
color = "hsl(29, 88%, 57%)",
1818
onClick = () => {},
19-
disabled,
19+
disabled = false,
2020
className = "",
2121
}: Props) => {
2222
const [springs, api] = useSpring(() => ({

ethernet-view/src/components/Logger/Logger.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ export const Logger = () => {
3535
onClick={() => {
3636
window.open(`http://${config.oscilloscope.ip}/screenshot.png`, '_blank');
3737
}}
38-
>
39-
</Button>
38+
></Button>
4039
</div>
4140
</div>
4241
</Island>

0 commit comments

Comments
 (0)