Skip to content

Commit

Permalink
Fix remaining linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
openhands-agent committed Nov 28, 2024
1 parent 1acc206 commit 7a86e89
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function App(): React.JSX.Element {
/>
</section>

{state.loading === true ? (
{state.loading ? (
<LoadingSpinner />
) : state.error !== null ? (
<ErrorMessage
Expand Down
2 changes: 1 addition & 1 deletion src/components/ActivityChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface ActivityChartProps {
}

export function ActivityChart({ activities, type }: ActivityChartProps): React.JSX.Element {
const spec: VisualizationSpec = useMemo(() => ({
const spec = useMemo((): VisualizationSpec => ({

Check failure on line 12 in src/components/ActivityChart.tsx

View workflow job for this annotation

GitHub Actions / lint

Unsafe assignment of an error typed value
$schema: 'https://vega.github.io/schema/vega-lite/v5.json',
data: {
values: activities
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"allowJs": false,
"checkJs": false
},
"include": ["src"],
"include": ["src", "*.ts"],
"exclude": ["node_modules"]
}

0 comments on commit 7a86e89

Please sign in to comment.