From 484b91c87421a37c6bb779fd4c9e92b6873c3e97 Mon Sep 17 00:00:00 2001
From: Areeb Ahmed <135235925+areebahmeddd@users.noreply.github.com>
Date: Thu, 13 Feb 2025 12:12:46 +0300
Subject: [PATCH] Applied rabbitai changes
---
src/components/Patient/LinkDepartmentsSheet.tsx | 8 +++-----
src/components/Questionnaire/QuestionnaireForm.tsx | 5 ++---
2 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/src/components/Patient/LinkDepartmentsSheet.tsx b/src/components/Patient/LinkDepartmentsSheet.tsx
index 43a268aca18..4daadc3ee64 100644
--- a/src/components/Patient/LinkDepartmentsSheet.tsx
+++ b/src/components/Patient/LinkDepartmentsSheet.tsx
@@ -4,7 +4,7 @@ import { Building, Loader2, Trash2 } from "lucide-react";
import { useState } from "react";
import { toast } from "sonner";
-import { Button, buttonVariants } from "@/components/ui/button";
+import { Button } from "@/components/ui/button";
import {
Sheet,
SheetContent,
@@ -216,7 +216,7 @@ export default function LinkDepartmentsSheet({
diff --git a/src/components/Questionnaire/QuestionnaireForm.tsx b/src/components/Questionnaire/QuestionnaireForm.tsx
index 05e74ce8829..9892aee8e09 100644
--- a/src/components/Questionnaire/QuestionnaireForm.tsx
+++ b/src/components/Questionnaire/QuestionnaireForm.tsx
@@ -9,7 +9,7 @@ import { cn } from "@/lib/utils";
import CareIcon from "@/CAREUI/icons/CareIcon";
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
-import { Button, buttonVariants } from "@/components/ui/button";
+import { Button } from "@/components/ui/button";
import Loading from "@/components/Common/Loading";
@@ -392,7 +392,7 @@ export function QuestionnaireForm({
{form.questionnaire.id !== questionnaireData?.id && (