diff --git a/frontend/src/framework/StatusWriter.ts b/frontend/src/framework/StatusWriter.ts index 6611ab1f5..a71aa4266 100644 --- a/frontend/src/framework/StatusWriter.ts +++ b/frontend/src/framework/StatusWriter.ts @@ -62,10 +62,10 @@ export function useViewStatusWriter(moduleContext: ModuleContext): ViewStat return statusWriter.current; } -export function useSettingsStatusWriter(moduleContext: ModuleContext): SettingsStatusWriter { +export function useSettingsStatusWriter(moduleContext: ModuleContext): ViewStatusWriter { const statusController = moduleContext.getStatusController(); - const statusWriter = React.useRef(new SettingsStatusWriter(statusController)); + const statusWriter = React.useRef(new ViewStatusWriter(statusController)); statusController.clearMessages(StatusSource.Settings); statusController.incrementReportedComponentRenderCount(StatusSource.Settings);