(tabId: string)
| 48 | } |
| 49 | |
| 50 | export function deleteLayoutModelForTab(tabId: string) { |
| 51 | if (layoutModelMap.has(tabId)) layoutModelMap.delete(tabId); |
| 52 | } |
| 53 | |
| 54 | function useLayoutModel(tabAtom: Atom<Tab>): LayoutModel { |
| 55 | return getLayoutModelForTab(tabAtom); |
no test coverage detected