diff --git a/src/commonComponents/DeviceDetailsCard.tsx b/src/commonComponents/DeviceDetailsCard.tsx index bda00c9c3..babaf1cad 100644 --- a/src/commonComponents/DeviceDetailsCard.tsx +++ b/src/commonComponents/DeviceDetailsCard.tsx @@ -87,7 +87,6 @@ const DeviceDetails = (props: { deviceFriendlyName: string, createDateTime: stri className="p-1 border border-gray-400 rounded hover:bg-gray-100 dark:hover:bg-black dark:text-white dark:hover:text-white" onClick={(e) => { e.preventDefault(); - props.refreshList() setOpenEditModel(true) }} > diff --git a/src/components/Authentication/SignInUser.tsx b/src/components/Authentication/SignInUser.tsx index cdc2fbe0d..b6245b2e5 100644 --- a/src/components/Authentication/SignInUser.tsx +++ b/src/components/Authentication/SignInUser.tsx @@ -1,5 +1,4 @@ import '../../common/global.css' - import * as yup from 'yup'; import { Button, Label} from 'flowbite-react'; import { Field, Form, Formik } from 'formik'; diff --git a/src/components/Authentication/SignInUserPasskey.tsx b/src/components/Authentication/SignInUserPasskey.tsx index cdacf5e2d..b98d98a24 100644 --- a/src/components/Authentication/SignInUserPasskey.tsx +++ b/src/components/Authentication/SignInUserPasskey.tsx @@ -1,5 +1,4 @@ import '../../common/global.css' - import { Alert, Button } from 'flowbite-react'; import { UserSignInData, diff --git a/src/components/Profile/AddPasskey.tsx b/src/components/Profile/AddPasskey.tsx index 154b2bb5e..05c582106 100644 --- a/src/components/Profile/AddPasskey.tsx +++ b/src/components/Profile/AddPasskey.tsx @@ -162,6 +162,8 @@ const AddPasskey = () => { : []; if (data?.data?.length === 1) { setDisableFlag(true); + } else { + setDisableFlag(false); } setDeviceList(deviceDetails); }