( storeOrStoreId: StoreOrStoreId | undefined, tableId: Id, )
| 150 | ); |
| 151 | |
| 152 | const useHasRowCallback = ( |
| 153 | storeOrStoreId: StoreOrStoreId | undefined, |
| 154 | tableId: Id, |
| 155 | ) => { |
| 156 | const store = useStoreOrStoreById(storeOrStoreId); |
| 157 | return useCallback( |
| 158 | (rowId: Id) => store?.hasRow(tableId, rowId) ?? false, |
| 159 | [store, tableId], |
| 160 | ); |
| 161 | }; |
| 162 | |
| 163 | const AddCell = ({ |
| 164 | onDone, |
no test coverage detected
searching dependent graphs…