Skip to content

Commit d4e2208

Browse files
committed
chore: fix TS build; configure GH Pages deploy
1 parent df87751 commit d4e2208

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build": "tsc -b && vite build",
99
"lint": "eslint .",
1010
"preview": "vite preview",
11-
"test": "jest",
11+
"test": "jest --passWithNoTests",
1212
"test:watch": "jest --watch",
1313
"test:coverage": "jest --coverage"
1414
},

src/components/ProjectSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ReactNode } from 'react'
1+
import type { ReactNode } from 'react'
22

33
export interface ProjectSectionProps {
44
title: string

src/pages/SettingsPage.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import type { FocusedTabConfig, FocusedTabsConfig } from '../types/common'
1010
export default function SettingsPage() {
1111
const [asanaToken, setAsanaToken] = useState('')
1212
const [everhourKey, setEverhourKey] = useState('')
13-
const [workspaceId, setWorkspaceId] = useState<string | null>(null)
1413
const [projects, setProjects] = useState<Array<{ gid: string; name: string }>>([])
1514
const [tabsCfg, setTabsCfg] = useState<FocusedTabsConfig | null>(null)
1615
const [filter, setFilter] = useState('')
@@ -34,7 +33,6 @@ export default function SettingsPage() {
3433
const workspaces = await asanaService.listWorkspaces()
3534
const ws = workspaces[0]
3635
if (ws) {
37-
setWorkspaceId(ws.gid)
3836
const projs = await asanaService.listProjectsForWorkspace(ws.gid)
3937
setProjects(projs)
4038
}

0 commit comments

Comments
 (0)