Skip to content

Commit c887d61

Browse files
committed
Minor resetPassword link fix
1 parent 7b61955 commit c887d61

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

configure/src/core/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const publicUrl = `${window.location.pathname
44

55
export const publicUrlMainSite = `${
66
window.location.origin
7-
}${window.location.pathname.replace(`configure`, "").replace(/^\//g, "")}`;
7+
}${window.location.pathname.replace(`/configure`, "")}`;
88

99
export const endpoints = {};
1010

configure/src/pages/Users/Modals/ResetPasswordModal/ResetPasswordModal.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { useSelector, useDispatch } from "react-redux";
44
import { calls } from "../../../../core/calls";
55
import { publicUrlMainSite } from "../../../../core/constants";
66

7-
import { copyToClipboard } from "../../../../core/utils";
87
import { setModal, setSnackBarText } from "../../../../core/ConfigureStore";
98

109
import Typography from "@mui/material/Typography";

0 commit comments

Comments
 (0)