feat(time-picker): 添加自定义quick option #2831
Annotations
5 errors and 11 warnings
src/past-time-picker/PastTimePicker.tsx#L122
'quickOptions' is already declared in the upper scope
|
src/past-time-picker/PastTimePicker.tsx#L129
Unexpected assignment within an 'if' statement
|
src/past-time-picker/demos/PastTimePicker.stories.tsx#L96
Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`
|
src/static-past-time-picker/StaticPastTimePicker.tsx#L90
The 'parseMode' function makes the dependencies of useEffect Hook (at line 131) change on every render. To fix this, wrap the definition of 'parseMode' in its own useCallback() Hook
|
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
src/alert/__test__/alert.test.tsx#L31
Unexpected any. Specify a different type
|
src/card/demos/Card.stories.tsx#L113
Unexpected alert
|
src/cascader/demos/Cascader.stories.tsx#L93
Unexpected any. Specify a different type
|
src/cascader/demos/Cascader.stories.tsx#L93
Unexpected any. Specify a different type
|
src/cascader/demos/Cascader.stories.tsx#L93
Unexpected console statement
|
src/cascader/demos/Cascader.stories.tsx#L131
Unexpected any. Specify a different type
|
src/cascader/demos/Cascader.stories.tsx#L131
Unexpected any. Specify a different type
|
src/cascader/demos/Cascader.stories.tsx#L131
Unexpected console statement
|
src/cascader/demos/Cascader.stories.tsx#L145
Unexpected any. Specify a different type
|
src/cascader/demos/Cascader.stories.tsx#L145
Unexpected any. Specify a different type
|
This job failed
Loading