diff --git a/src/components/editTopicDialog.tsx b/src/components/editTopicDialog.tsx index 6ac93fb..b9283bc 100644 --- a/src/components/editTopicDialog.tsx +++ b/src/components/editTopicDialog.tsx @@ -1,6 +1,6 @@ -import { FormControl, FormControlLabel, FormLabel, Radio } from "@mui/material"; +import { FormControl, FormControlLabel, FormLabel, Radio, RadioGroup } from "@mui/material"; import { Field, FormikErrors } from "formik"; -import { CheckboxWithLabel, RadioGroup, TextField } from "formik-mui"; +import { CheckboxWithLabel, TextField } from "formik-mui"; import { observer } from "mobx-react-lite"; import React from "react"; import { TopicFormikValues } from "../models"; @@ -52,7 +52,7 @@ export const EditTopicDialog = observer(() => { , ContentType - + } label="AVRO" /> } label="JSON" /> @@ -76,7 +76,7 @@ export const EditTopicDialog = observer(() => { const advancedFields = (): JSX.Element[] => [ Acknowledgement - + } label="LEADER" /> } label="ALL" /> diff --git a/src/components/subscriptionDialog.tsx b/src/components/subscriptionDialog.tsx index e499b0b..b5e4c5a 100644 --- a/src/components/subscriptionDialog.tsx +++ b/src/components/subscriptionDialog.tsx @@ -1,6 +1,6 @@ -import { FormControl, FormControlLabel, FormLabel, Radio } from "@mui/material"; +import { FormControl, FormControlLabel, FormLabel, Radio, RadioGroup } from "@mui/material"; import { Field, FormikErrors } from "formik"; -import { CheckboxWithLabel, RadioGroup, TextField } from "formik-mui"; +import { CheckboxWithLabel, TextField } from "formik-mui"; import { observer, useObserver } from "mobx-react-lite"; import React from "react"; import { useLocation, useNavigate } from "react-router-dom"; @@ -73,7 +73,7 @@ export const SubscriptionDialog = ({ const advancedFields = (): JSX.Element[] => [ Mode - + } label="ANYCAST" /> } label="BROADCAST" /> @@ -129,7 +129,7 @@ export const SubscriptionDialog = ({ />, Tracking mode - + } label="No tracking" /> } label="Track message discarding only" /> } label="Track everything" /> diff --git a/src/components/topicDialog.tsx b/src/components/topicDialog.tsx index c672960..6fc0138 100644 --- a/src/components/topicDialog.tsx +++ b/src/components/topicDialog.tsx @@ -1,6 +1,6 @@ -import { Box, Button, FormControl, FormControlLabel, FormLabel, Radio } from "@mui/material"; +import { Box, Button, FormControl, FormControlLabel, FormLabel, Radio, RadioGroup } from "@mui/material"; import { Field, FormikErrors } from "formik"; -import { CheckboxWithLabel, RadioGroup, TextField } from "formik-mui"; +import { CheckboxWithLabel, TextField } from "formik-mui"; import { observer } from "mobx-react-lite"; import React from "react"; import { useNavigate } from "react-router-dom"; @@ -54,7 +54,7 @@ export const TopicDialog = observer( , ContentType - + } label="AVRO" /> } label="JSON" /> @@ -78,7 +78,7 @@ export const TopicDialog = observer( const advancedFields = (): JSX.Element[] => [ Acknowledgement - + } label="LEADER" /> } label="ALL" />