({
storeId,
s,
}: {readonly storeId?: Id} & StoreProp)
| 9 | import {ValuesView} from './ValuesView.tsx'; |
| 10 | |
| 11 | export const StoreView = ({ |
| 12 | storeId, |
| 13 | s, |
| 14 | }: {readonly storeId?: Id} & StoreProp) => { |
| 15 | const store = useStore(storeId); |
| 16 | return isUndefined(store) ? null : ( |
| 17 | <Details |
| 18 | uniqueId={getUniqueId('s', storeId)} |
| 19 | title={ |
| 20 | (store.isMergeable() ? 'Mergeable' : '') + |
| 21 | 'Store: ' + |
| 22 | (storeId ?? DEFAULT) |
| 23 | } |
| 24 | s={s} |
| 25 | > |
| 26 | <ValuesView storeId={storeId} store={store} s={s} /> |
| 27 | <TablesView storeId={storeId} store={store} s={s} /> |
| 28 | </Details> |
| 29 | ); |
| 30 | }; |
nothing calls this directly
no test coverage detected
searching dependent graphs…