chore: lint

This commit is contained in:
amhsirak
2025-01-25 15:50:27 +05:30
parent 5f0427232d
commit a06c6a59ec

View File

@@ -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) => {