diff --git a/src/features/topics/index.tsx b/src/features/topics/index.tsx index a6fee95..54336d4 100644 --- a/src/features/topics/index.tsx +++ b/src/features/topics/index.tsx @@ -33,7 +33,7 @@ export default function TopicsFeature() { setError(""); setForm({ topic: "", - type: tab === "state" ? "state-reply" : "commands", + type: tab === "state" ? "state-reply" : "command", }); setIsOpen(true); }; @@ -58,7 +58,7 @@ export default function TopicsFeature() { setIsOpen(false); setForm({ topic: "", - type: tab === "state" ? "state-reply" : "commands", + type: tab === "state" ? "state-reply" : "command", }); }, onError: () => { @@ -159,12 +159,10 @@ export default function TopicsFeature() { } > - + - {error && ( -
{error}
- )} + {error &&{error}
}