+
Add Project
diff --git a/frontend/src/components/basic/buttons/Button.tsx b/frontend/src/components/basic/buttons/Button.tsx
index d10f77db1..39033bef3 100644
--- a/frontend/src/components/basic/buttons/Button.tsx
+++ b/frontend/src/components/basic/buttons/Button.tsx
@@ -43,7 +43,7 @@ const Button = ({
loading,
icon,
iconDisabled,
- type = "button",
+ type = "button"
}: ButtonProps): JSX.Element => {
// Check if the button show always be 'active' - then true;
// or if it should switch between 'active' and 'disabled' - then give the status
@@ -53,9 +53,13 @@ const Button = ({
"group m-auto md:m-0 inline-block rounded-md duration-200",
// Setting background colors and hover modes
- color === "mineshaft" && activityStatus && "bg-mineshaft-800 border border-mineshaft-600 hover:bg-primary/[0.15] hover:border-primary/60",
+ color === "mineshaft" &&
+ activityStatus &&
+ "bg-mineshaft-800 border border-mineshaft-600 hover:bg-primary/[0.15] hover:border-primary/60",
color === "mineshaft" && !activityStatus && "bg-mineshaft",
- (color === "primary" || !color) && activityStatus && "bg-primary border border-primary-400 opacity-80 hover:opacity-100",
+ (color === "primary" || !color) &&
+ activityStatus &&
+ "bg-primary border border-primary-400 opacity-80 hover:opacity-100",
(color === "primary" || !color) && !activityStatus && "bg-primary",
color === "red" && "bg-red-800 border border-red",
@@ -78,7 +82,9 @@ const Button = ({
color !== "mineshaft" && color !== "red" && color !== "none" && "text-black",
color === "red" && "text-gray-200",
color === "none" && "text-gray-200 text-xl",
- activityStatus && color !== "red" && color !== "mineshaft" && color !== "none" ? "group-hover:text-black" : "",
+ activityStatus && color !== "red" && color !== "mineshaft" && color !== "none"
+ ? "group-hover:text-black"
+ : "",
size === "icon" && "flex items-center justify-center"
);
@@ -103,7 +109,7 @@ const Button = ({
@@ -124,7 +130,7 @@ const Button = ({
{iconDisabled && (
diff --git a/frontend/src/components/basic/dialog/AddProjectMemberDialog.tsx b/frontend/src/components/basic/dialog/AddProjectMemberDialog.tsx
index e8049066b..0c86a8c5b 100644
--- a/frontend/src/components/basic/dialog/AddProjectMemberDialog.tsx
+++ b/frontend/src/components/basic/dialog/AddProjectMemberDialog.tsx
@@ -64,7 +64,7 @@ const AddProjectMemberDialog = ({
) : (
{t("section.members.add-dialog.already-all-invited")}
@@ -127,7 +127,9 @@ const AddProjectMemberDialog = ({
) : (