diff --git a/.env b/.env index 98c85da..d2431d2 100644 --- a/.env +++ b/.env @@ -1,3 +1,4 @@ -VITE_BASE_URI="https://officially-powerful-goat.ngrok-free.app" +# VITE_BASE_URI="https://officially-powerful-goat.ngrok-free.app" # VITE_BASE_URI="https://python-amused-adder.ngrok-free.app" -# VITE_BASE_URI="https://concrete-gladly-mullet.ngrok-free.app" \ No newline at end of file +# VITE_BASE_URI="https://concrete-gladly-mullet.ngrok-free.app" +VITE_BASE_URI="https://wired-terminally-muskrat.ngrok-free.app" \ No newline at end of file diff --git a/src/components/auth/UsertAuthUI.tsx b/src/components/auth/UsertAuthUI.tsx index 44224dc..202d9bc 100644 --- a/src/components/auth/UsertAuthUI.tsx +++ b/src/components/auth/UsertAuthUI.tsx @@ -1,5 +1,5 @@ import { useEffect, useState } from "react"; -import "../styles/style.css"; +// import "../styles/style.css"; import { useNavigate, useLocation } from "react-router-dom"; import LoginForm from "./LoginForm"; import RegisterForm from "./RegisterForm"; @@ -37,7 +37,7 @@ function UserAuthUI() { return (
- {renderEditableField(recipient, "firstName", "First Name")}
- {renderEditableField(recipient, "lastName", "Last Name")}
- {transactionTemplateToggle === TRANSACTION_TEMPLATE_TOGGLE.TEMPLATES && (
-
- | Permissions granted :
-
- {renderEditableField(recipient, "email", "Recipient Email", "", "email")} | - handleFieldFocus(getRecipientIdentifier(recipient), "type") - : undefined - } - className={`${isEditable(recipient) - ? "cursor-pointer hover:bg-gray-100" - : "cursor-not-allowed" - } rounded px-1 transition-colors`} - > - {recipient.type} - - {(hasValue(recipient, "roleName") || - transactionTemplateToggle === TRANSACTION_TEMPLATE_TOGGLE.TEMPLATES) && ( - - {" | Role: "} - {renderEditableField(recipient, "roleName", "Role name")} - +
+ {renderEditableField(recipient, "roleName", "Role name")} +
++ {renderEditableField(recipient, "firstName", "First Name")} + {renderEditableField(recipient, "lastName", "Last Name")} + {renderEditableField(recipient, "email", "Recipient Email", "", "email")} +
+{renderEditableField(recipient, "hostName", "Host Name")} - {" | Host Email: "} {renderEditableField(recipient, "hostEmail", "Host Email", "", "email")} - - > - )} -
- {editingField?.recipientId === getRecipientIdentifier(recipient) && - editingField?.fieldName === "type" && - isEditable(recipient) && ( -