diff --git a/src/pages/structure/structurePage.tsx b/src/pages/structure/structurePage.tsx
index 7d21da5..ae2b75e 100644
--- a/src/pages/structure/structurePage.tsx
+++ b/src/pages/structure/structurePage.tsx
@@ -289,20 +289,20 @@ const WaveformControlButton = (props: {
disabled?: boolean;
onClick?: (e?: any) => void;
}) => {
- return (
-
- <>
-
- {props.icon}
-
- >
-
+ const button = (
+
+ {props.icon}
+
);
+
+ if (props.disabled) return button;
+
+ return {button};
};
const mapStateToProps = ({ project, audio, analysis }: ApplicationState) => {