import { findFileByPath, mockWorkspaceFiles } from "@/pages/workspace/mock-data"; import { useWorkspaceUiStore } from "@/lib/store/workspace-ui-store"; export function WorkspacePage() { const activeFilePath = useWorkspaceUiStore((s) => s.activeFilePath); const activeFile = findFileByPath(mockWorkspaceFiles, activeFilePath); return (

Codespace Workspace

Active file: {activeFilePath}

Mock file match:{" "} {activeFile ? `${activeFile.name} (${activeFile.language ?? activeFile.kind})` : "not found"}

); }