fix: lowercase and remove truncate for button

This commit is contained in:
Salman
2024-03-12 03:42:38 +05:30
parent db9f21be87
commit 3f0c4f0ca9
5 changed files with 10 additions and 8 deletions
@@ -55,7 +55,7 @@ export const OrgDeleteSection = () => {
onClick={() => handlePopUpOpen("deleteOrg")}
isDisabled={Boolean(membership && membership.role !== "admin")}
>
<p className="max-w-[180px] truncate">Delete {currentOrg?.name}</p>
{`Delete ${currentOrg?.name}`}
</Button>
<DeleteActionModal
isOpen={popUp.deleteOrg.isOpen}
@@ -14,7 +14,7 @@ const formSchema = yup.object({
.string()
.required()
.label("Organization Name")
.max(64, "Too long, Maximum length is 64 characters")
.max(64, "Too long, maximum length is 64 characters")
});
type FormData = yup.InferType<typeof formSchema>;
@@ -13,7 +13,7 @@ import { useToggle } from "@app/hooks";
import { useRenameWorkspace } from "@app/hooks/api";
const formSchema = yup.object({
name: yup.string().required().label("Project Name").max(64, "Too long, Maximum length is 64 characters"),
name: yup.string().required().label("Project Name").max(64, "Too long, maximum length is 64 characters"),
});
type FormData = yup.InferType<typeof formSchema>;