Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
Signed-off-by: Aviv Turgeman <aturgema@redhat.com>
  • Loading branch information
avivtur committed Aug 27, 2023
1 parent 53ff596 commit da2ad29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const AssessmentSettings: React.FC = () => {
React.useState<Questionnaire | null>();

const [questionnaireNameToDelete, setQuestionnaireNameToDelete] =
React.useState<string>("");
React.useState("");

const tableControls = useLocalTableControls({
idProperty: "id",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { Dispatch, FC, SetStateAction } from "react";
import { useTranslation } from "react-i18next";

import { TextInput } from "@patternfly/react-core";
import { Text, TextInput } from "@patternfly/react-core";

import "./delete-questionnaire-message.css";

Expand All @@ -18,13 +18,13 @@ const DeleteQuestionnaireMessage: FC<DeleteQuestionnaireMessageProps> = ({

return (
<>
<p>{t("dialog.message.deleteQuestionnaire")}</p>
<p>{t("dialog.message.delete")}</p>
<p className="confirm-deletion">
<Text component="p">{t("dialog.message.deleteQuestionnaire")}</Text>
<Text component="p">{t("dialog.message.delete")}</Text>
<Text component="p" className="confirm-deletion">
{t("dialog.message.confirmDeletion", {
what: t("terms.questionnaire").toLowerCase(),
})}
</p>
</Text>
<TextInput
className="confirm-deletion-input"
value={questionnaireNameToDelete}
Expand Down

0 comments on commit da2ad29

Please sign in to comment.