integrate npm run build in CI workflows #2
Annotations
3 errors
|
build
Process completed with exit code 1.
|
|
build:
components/ui/ThemeToggle.tsx#L32
React Hook "useEffect" is called in function "toggleTheme" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
|
|
build:
components/ui/ThemeToggle.tsx#L30
React Hook "useState" is called in function "toggleTheme" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
|