Fix deepscan warnings

This commit is contained in:
Michael Shilman 2021-06-14 16:19:17 +08:00
parent a0d30bccec
commit 7fab85d973
2 changed files with 1 additions and 10 deletions

View File

@ -1,5 +1,5 @@
import React from 'react';
import { ComponentMeta, ComponentStory } from '@storybook/react';
import { ComponentMeta } from '@storybook/react';
import { screen } from '@testing-library/dom';
import userEvent from '@testing-library/user-event';
import { AccountForm } from './AccountForm';

View File

@ -15,10 +15,6 @@ const email99RegExp = new RegExp(
/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
);
const w3cEmailRegExp = new RegExp(
/^[a-zA-Z0-9.!#$%&*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/
);
export interface AccountFormResponse {
success: boolean;
}
@ -322,11 +318,6 @@ const Input = styled.input(({ theme }) => ({
},
}));
const Helper = styled.div({
marginTop: 4,
fontSize: 10,
});
const Actions = styled.div({
alignSelf: 'stretch',
display: 'flex',