diff --git a/assets/src/components/admin/inspector.tsx b/assets/src/components/admin/inspector.tsx index d21aacb7a..93434bdd9 100644 --- a/assets/src/components/admin/inspector.tsx +++ b/assets/src/components/admin/inspector.tsx @@ -10,6 +10,8 @@ import { useHistory, useLocation } from "react-router-dom"; import AdminForm from "./admin_form"; +import { type AudioConfig } from "Components/v2/screen_container"; + import { doSubmit, type Config, type Screen } from "Util/admin"; import { type Message, @@ -383,6 +385,7 @@ const DataControls: ComponentType<{ }; const AudioControls: ComponentType<{ screen: ScreenWithId }> = ({ screen }) => { + const [config, setConfig] = useState(); // To bypass browser caching, we add a meaningless query param to the URL of // the