Skip to content

feat(datepicker): WIP update base styles #54

feat(datepicker): WIP update base styles

feat(datepicker): WIP update base styles #54

GitHub Actions / Lint failed Oct 25, 2023 in 0s

Errors 2, Warnings 0

Found 2 errors and 0 warnings

Annotations

Check failure on line 21 in ui-parts/datepicker/src/datepicker.component.tsx

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/no-unused-expressions): Expected an assignment or function call and instead saw an expression.

Expected an assignment or function call and instead saw an expression.
Raw output
  18 |
  19 |   useEffect(() => {
> 20 |     withBaseStyle && createAndInjectDatepickerStyles(props)
     |     ^
  21 |   }, [props])
  22 |
  23 |   return <DatepickerComponent {...props} />

Check failure on line 22 in ui-parts/datepicker/src/datepicker.component.tsx

See this annotation in the file changed.

@github-actions github-actions / Lint

(react-hooks/exhaustive-deps): React Hook useEffect has a missing dependency: 'withBaseStyle'. Either include it or remove the dependency array.

React Hook useEffect has a missing dependency: 'withBaseStyle'. Either include it or remove the dependency array.
Raw output
  19 |   useEffect(() => {
  20 |     withBaseStyle && createAndInjectDatepickerStyles(props)
> 21 |   }, [props])
     |      ^
  22 |
  23 |   return <DatepickerComponent {...props} />
  24 | }