diff --git a/apps/nextjs/src/components/Feedback/index.tsx b/apps/nextjs/src/components/Feedback/index.tsx index e426159e5..da16e830f 100644 --- a/apps/nextjs/src/components/Feedback/index.tsx +++ b/apps/nextjs/src/components/Feedback/index.tsx @@ -1,20 +1,12 @@ import { useState } from "react"; -import { - OakBox, - OakFlex, - OakGrid, - OakIcon, - OakLabel, - OakP, - OakPrimaryButton, - OakSecondaryButton, - OakSpan, - OakTextInput, -} from "@oaknational/oak-components"; +import { OakPrimaryButton } from "@oaknational/oak-components"; import { Flex } from "@radix-ui/themes"; import type { Survey } from "posthog-js"; +import ChatButton from "../AppComponents/Chat/ui/chat-button"; +import { Icon } from "../Icon"; + const FeedBack = ({ submitSurvey, survey, @@ -44,8 +36,8 @@ const FeedBack = ({
{ @@ -60,32 +52,29 @@ const FeedBack = ({ i === 0 ? "$survey_response" : `$survey_response_${i}`; if (question.type === "rating") { return ( - - - - - {question.question} - - - 1=Poor, 5=Excellent - - + + +

+ 1=Poor, 5=Excellent +

+
+
{rating.map((feedback) => { return ( ); })} - - +
+ ); } if (question.type === "open") { return ( - - - - {question.question} - - - -