Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ function NameModal({ open, title = 'New bin', description = 'Give your bin a nam
)
}

const SECTION_COLLAPSE_KEY = 'tracefinity.home.collapsedSections'
const SECTION_COLLAPSE_KEY = 'tracefinity.home.collapsedSections.v2'
type MainSectionId = 'projects' | 'tools' | 'bins' | 'howItWorks'
type MainSectionCollapseState = Record<MainSectionId, boolean>

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/projects/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
} from '@/lib/projectSelectors'
import { AlertTriangle, ArrowLeft, CheckSquare, ChevronDown, ChevronRight, Loader2, Package, Plus, Search, Square, Trash2, Unlink } from 'lucide-react'

const PROJECT_SECTION_COLLAPSE_KEY = 'tracefinity.project.collapsedSections'
const PROJECT_SECTION_COLLAPSE_KEY = 'tracefinity.project.collapsedSections.v2'
type ProjectSectionId = 'binDefaults' | 'projectTools' | 'linkedBins'
type ProjectSectionCollapseState = Record<ProjectSectionId, boolean>

Expand Down Expand Up @@ -91,7 +91,7 @@

useEffect(() => {
loadData()
}, [projectId])

Check warning on line 94 in frontend/src/app/projects/[id]/page.tsx

View workflow job for this annotation

GitHub Actions / frontend

React Hook useEffect has a missing dependency: 'loadData'. Either include it or remove the dependency array

async function loadData() {
setLoading(true)
Expand Down
Loading