diff --git a/src/App.tsx b/src/App.tsx
index 637a0ac..baee6d1 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -82,7 +82,7 @@ function App(): React.JSX.Element {
/>
- {state.loading === true ? (
+ {state.loading ? (
) : state.error !== null ? (
({
+ const spec = useMemo((): VisualizationSpec => ({
$schema: 'https://vega.github.io/schema/vega-lite/v5.json',
data: {
values: activities
diff --git a/tsconfig.app.json b/tsconfig.app.json
index c1a90cc..b0da93d 100644
--- a/tsconfig.app.json
+++ b/tsconfig.app.json
@@ -42,6 +42,6 @@
"allowJs": false,
"checkJs": false
},
- "include": ["src"],
+ "include": ["src", "*.ts"],
"exclude": ["node_modules"]
}