mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-25 00:16:29 +02:00
fix build issue
This commit is contained in:
parent
470947a59d
commit
ce4e8f620a
2 changed files with 1 additions and 3 deletions
|
|
@ -48,7 +48,7 @@ const FLOAT_VARIANCE = 2
|
||||||
const FLOAT_SPEED_BASE = 0.0006
|
const FLOAT_SPEED_BASE = 0.0006
|
||||||
const FLOAT_SPEED_VARIANCE = 0.00025
|
const FLOAT_SPEED_VARIANCE = 0.00025
|
||||||
|
|
||||||
export function GraphView({ nodes, edges, isLoading, error, onSelectNode }: GraphViewProps) {
|
export function GraphView({ nodes, edges, error, onSelectNode }: GraphViewProps) {
|
||||||
const containerRef = useRef<HTMLDivElement>(null)
|
const containerRef = useRef<HTMLDivElement>(null)
|
||||||
const positionsRef = useRef<Map<string, NodePosition>>(new Map())
|
const positionsRef = useRef<Map<string, NodePosition>>(new Map())
|
||||||
const motionSeedsRef = useRef<Map<string, { phase: number; amplitude: number; speed: number }>>(new Map())
|
const motionSeedsRef = useRef<Map<string, { phase: number; amplitude: number; speed: number }>>(new Map())
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,6 @@ export function TabBar<T>({
|
||||||
activeTabId,
|
activeTabId,
|
||||||
getTabTitle,
|
getTabTitle,
|
||||||
getTabId,
|
getTabId,
|
||||||
isProcessing,
|
|
||||||
onSwitchTab,
|
onSwitchTab,
|
||||||
onCloseTab,
|
onCloseTab,
|
||||||
layout = 'fill',
|
layout = 'fill',
|
||||||
|
|
@ -47,7 +46,6 @@ export function TabBar<T>({
|
||||||
{tabs.map((tab, index) => {
|
{tabs.map((tab, index) => {
|
||||||
const tabId = getTabId(tab)
|
const tabId = getTabId(tab)
|
||||||
const isActive = tabId === activeTabId
|
const isActive = tabId === activeTabId
|
||||||
const processing = isProcessing?.(tab) ?? false
|
|
||||||
const title = getTabTitle(tab)
|
const title = getTabTitle(tab)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue