mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Fix deepscan warnings
This commit is contained in:
parent
a0d30bccec
commit
7fab85d973
@ -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';
|
||||
|
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user