mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-14 02:35:56 +08:00
bug: members is fixed (#1073)
This commit is contained in:
parent
ca4ce0d380
commit
0554ed7ecb
@ -29,14 +29,6 @@ function EditMembersDetails({
|
|||||||
const [isLoading, setIsLoading] = useState<boolean>(false);
|
const [isLoading, setIsLoading] = useState<boolean>(false);
|
||||||
const [state, copyToClipboard] = useCopyToClipboard();
|
const [state, copyToClipboard] = useCopyToClipboard();
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
return (): void => {
|
|
||||||
setName('');
|
|
||||||
setRole('VIEWER');
|
|
||||||
setEmailAddress('');
|
|
||||||
};
|
|
||||||
}, [setEmailAddress, setName, setRole]);
|
|
||||||
|
|
||||||
const getPasswordLink = (token: string): string => {
|
const getPasswordLink = (token: string): string => {
|
||||||
return `${window.location.origin}${ROUTES.PASSWORD_RESET}?token=${token}`;
|
return `${window.location.origin}${ROUTES.PASSWORD_RESET}?token=${token}`;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user