webview/src/setup/components/dvc/Dvc.tsx
Function Dvc
has 49 lines of code (exceeds 40 allowed). Consider refactoring. Open
Open
export const Dvc: React.FC = () => {
const dispatch = useDispatch()
const hasWebviewData = useSelector(
(state: SetupState) => state.webview.hasData
)
Avoid too many return
statements within this function. Open
Open
return (
<EmptyState isFullScreen={false}>
<h1>Setup Complete</h1>
{children}
<p>