(props: {readonly storeId?: Id} & StoreProp)
| 728 | }; |
| 729 | |
| 730 | const StoreView = (props: {readonly storeId?: Id} & StoreProp) => { |
| 731 | const store = useStore(props.storeId); |
| 732 | return ( |
| 733 | <> |
| 734 | {isUndefined(store()) ? ( |
| 735 | EMPTY_STRING |
| 736 | ) : ( |
| 737 | <Details |
| 738 | uniqueId={getUniqueId('s', props.storeId)} |
| 739 | title={ |
| 740 | (store()!.isMergeable() ? 'Mergeable' : '') + |
| 741 | 'Store: ' + |
| 742 | (props.storeId ?? DEFAULT) |
| 743 | } |
| 744 | s={props.s} |
| 745 | > |
| 746 | <ValuesView storeId={props.storeId} store={store()} s={props.s} /> |
| 747 | <TablesView storeId={props.storeId} store={store()} s={props.s} /> |
| 748 | </Details> |
| 749 | )} |
| 750 | </> |
| 751 | ); |
| 752 | }; |
| 753 | |
| 754 | const MetricRow = (props: {readonly metrics: any; readonly metricId: Id}) => ( |
| 755 | <tr> |
nothing calls this directly
no test coverage detected
searching dependent graphs…