fix(sdk): Remove non-existent setCurrentModule() from roadmap page
Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-ai-compliance (push) Failing after 29s
CI / test-python-backend-compliance (push) Successful in 30s
CI / test-python-document-crawler (push) Successful in 22s
CI / test-python-dsms-gateway (push) Successful in 17s
Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-ai-compliance (push) Failing after 29s
CI / test-python-backend-compliance (push) Successful in 30s
CI / test-python-document-crawler (push) Successful in 22s
CI / test-python-dsms-gateway (push) Successful in 17s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
'use client'
|
||||
|
||||
import React, { useState, useEffect, useCallback, useRef } from 'react'
|
||||
import { useSDK } from '@/lib/sdk'
|
||||
|
||||
// =============================================================================
|
||||
// TYPES
|
||||
@@ -739,7 +738,6 @@ function RoadmapDetailView({ roadmap, onBack, onRefresh }: {
|
||||
// =============================================================================
|
||||
|
||||
export default function RoadmapPage() {
|
||||
const { setCurrentModule } = useSDK()
|
||||
const [roadmaps, setRoadmaps] = useState<Roadmap[]>([])
|
||||
const [loading, setLoading] = useState(true)
|
||||
const [showCreate, setShowCreate] = useState(false)
|
||||
@@ -747,10 +745,6 @@ export default function RoadmapPage() {
|
||||
const [selectedRoadmap, setSelectedRoadmap] = useState<Roadmap | null>(null)
|
||||
const [filter, setFilter] = useState<string>('all')
|
||||
|
||||
useEffect(() => {
|
||||
setCurrentModule('roadmap')
|
||||
}, [setCurrentModule])
|
||||
|
||||
const loadRoadmaps = useCallback(async () => {
|
||||
setLoading(true)
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user