chore: lint
This commit is contained in:
@@ -93,8 +93,8 @@ export const RobotEditModal = ({ isOpen, handleStart, handleClose, initialSettin
|
|||||||
|
|
||||||
const isUsernameSelector = (selector: string): boolean => {
|
const isUsernameSelector = (selector: string): boolean => {
|
||||||
return selector.toLowerCase().includes('username') ||
|
return selector.toLowerCase().includes('username') ||
|
||||||
selector.toLowerCase().includes('user') ||
|
selector.toLowerCase().includes('user') ||
|
||||||
selector.toLowerCase().includes('email');
|
selector.toLowerCase().includes('email');
|
||||||
};
|
};
|
||||||
|
|
||||||
const determineCredentialType = (selector: string, info: CredentialInfo): 'password' | 'email' | 'username' | 'other' => {
|
const determineCredentialType = (selector: string, info: CredentialInfo): 'password' | 'email' | 'username' | 'other' => {
|
||||||
@@ -310,7 +310,7 @@ export const RobotEditModal = ({ isOpen, handleStart, handleClose, initialSettin
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Typography variant="h6" style={{ marginBottom: '20px'}}>
|
<Typography variant="h6" style={{ marginBottom: '20px' }}>
|
||||||
{headerText}
|
{headerText}
|
||||||
</Typography>
|
</Typography>
|
||||||
{selectors.map((selector, index) => {
|
{selectors.map((selector, index) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user