()
| 140 | }, [tabs, activeTabId]); |
| 141 | |
| 142 | const generateTabId = () => { |
| 143 | return `tab-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`; |
| 144 | }; |
| 145 | |
| 146 | const addTab = useCallback((tabData: Omit<Tab, 'id' | 'order' | 'createdAt' | 'updatedAt'>): string => { |
| 147 | if (tabs.length >= MAX_TABS) { |
no outgoing calls
no test coverage detected