diff --git a/src/pages/program/[slug]/[profileRoute]/edit-profile.tsx b/src/pages/program/[slug]/[profileRoute]/edit-profile.tsx
index 6fc3ea39..a4f224cf 100644
--- a/src/pages/program/[slug]/[profileRoute]/edit-profile.tsx
+++ b/src/pages/program/[slug]/[profileRoute]/edit-profile.tsx
@@ -71,9 +71,7 @@ const EditProfilePage: Page = (_) => {
setBio(currentProfile.bio || "");
setProfileJson(getResponsesFromJson(currentProfile.profileJson));
setSelectedTagIds(currentProfile.profileTags.map((t) => t.profileTagId));
-
- return () => {};
- }, [currentProfile]);
+ }, []);
if (!currentProgram || !currentProfile || !myUserData || !programTagsData)
return
404
;
diff --git a/src/pages/program/[slug]/[profileRoute]/mentees/edit-profile/index.tsx b/src/pages/program/[slug]/[profileRoute]/mentees/edit-profile/index.tsx
index 88cfe7f1..b2007df5 100644
--- a/src/pages/program/[slug]/[profileRoute]/mentees/edit-profile/index.tsx
+++ b/src/pages/program/[slug]/[profileRoute]/mentees/edit-profile/index.tsx
@@ -26,7 +26,7 @@ const EditMenteeProfilePage: Page = (_) => {
const [modified, setModified] = useState(false);
const [isSavingProfile, setIsSavingProfile] = useState(false);
const { setSnackbarMessage } = useSnackbar();
- isSavingProfile; // TODO: If is saving, set loading state of button to true.
+ // TODO: If is saving, set loading state of button to true.
useEffect(() => {
if (!currentProgram) return;
@@ -69,7 +69,7 @@ const EditMenteeProfilePage: Page = (_) => {
);
diff --git a/tailwind.config.js b/tailwind.config.js
index 131a67ea..f677fb6a 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -34,6 +34,9 @@ module.exports = {
bold: 700,
},
extend: {
+ animation: {
+ "border-pulse": "border-pulse 1s ease-in-out infinite",
+ },
borderWidth: {
1.5: "1.5px",
3: "3px",
@@ -48,10 +51,26 @@ module.exports = {
"se-resize": "se-resize",
"sw-resize": "sw-resize",
},
+ fill: {
+ none: "none",
+ },
height: {
"3/4-screen": "75vh",
"9/10": "90%",
},
+ keyframes: {
+ "border-pulse": {
+ "0%": {
+ "-webkit-box-shadow": "0 0 4px 3px rgba(0,0,0, 0.3)",
+ },
+ "50%": {
+ "-webkit-box-shadow": "0 0 4px 6px rgba(0,0,0, 0.9)",
+ },
+ "100%": {
+ "-webkit-box-shadow": "0 0 4px 3px rgba(0,0,0, 0.3)",
+ },
+ },
+ },
maxHeight: {
"3/4": "75%",
},
@@ -68,6 +87,9 @@ module.exports = {
300: "75rem",
400: "100rem",
},
+ transitionDuration: {
+ 3000: "3000ms",
+ },
transitionProperty: {
background: "background-color",
},
@@ -82,9 +104,6 @@ module.exports = {
stroke: (theme) => ({
white: theme("colors.white"),
}),
- fill: {
- none: "none",
- },
},
},
variants: {