Skip to content

Commit

Permalink
redux removed
Browse files Browse the repository at this point in the history
  • Loading branch information
sinanptm committed Aug 30, 2024
1 parent 547d7b9 commit 0604da9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/app/(patient)/new-appointment/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import AppointmentForm from "@/components/forms/AppointmentForm";
import AppointmentForm from "@/components/forms/patient/AppointmentForm";
import Image from "next/image";
import { Metadata } from "next";
import { Banners } from "@/constants";
Expand Down
4 changes: 1 addition & 3 deletions client/app/(patient)/signin/otp-verification/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"use client";
import OtpVerificationSection from "@/components/forms/OtpForms";
import OtpVerificationSection from "@/components/forms/patient/OtpForms";
import Image from "next/image";
import { FormEvent, useState } from "react";
import { useValidateOtpPatient } from "@/hooks/usePatientAuth";
Expand All @@ -8,14 +8,12 @@ import { useRouter } from "next/navigation";
import { Button } from "@/components/ui/button";
import Link from "next/link";
import { Banners } from "@/constants";
import { useDispatch } from "react-redux";

const OtpVerificationPage = () => {
const [otp, setOtp] = useState<string>("");
const { mutate: validateOtp, isPending } = useValidateOtpPatient();
const { toast } = useToast();
const navigate = useRouter();
const dispatch = useDispatch();

const handleVerify = async (e: FormEvent) => {
e.preventDefault();
Expand Down
2 changes: 1 addition & 1 deletion client/app/staff/signin/otp-verification/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use client'
import OtpForm from "@/components/forms/OtpForms";
import OtpForm from "@/components/forms/patient/OtpForms";
import { Banners } from "@/constants";
import Image from "next/image";
import Link from "next/link";
Expand Down

1 comment on commit 0604da9

@vercel
Copy link

@vercel vercel bot commented on 0604da9 Aug 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.