Skip to content

Commit

Permalink
Use ProductionLocationDetails in the SearchByOsIdSuccessResult
Browse files Browse the repository at this point in the history
  • Loading branch information
mazursasha1990 committed Dec 24, 2024
1 parent 87c1ab5 commit ddbd6d6
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions src/react/src/components/Contribute/SearchByOsIdSuccessResult.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from 'react';
import { string, object, func, arrayOf } from 'prop-types';
import { withStyles } from '@material-ui/core/styles';
import Typography from '@material-ui/core/Typography';
// import PreviousOsIdTooltip from './PreviousOsIdTooltip';
import SearchByOsIdResultActions from './SearchByOsIdResultActions';
import { makeSearchByOsIdResultStyles } from '../../util/styles';
import ProductionLocationDetails from './ProductionLocationDetails';
Expand All @@ -27,39 +26,6 @@ const SearchByOsIdSuccessResult = ({
countryName={countryName}
historicalOsIds={historicalOsIds}
/>
{/* <div className={classes.locationDetailsStyles}>
<Typography
component="h3"
className={classes.locationNameStyles}
>
{name}
</Typography>
<Typography
component="h6"
className={classes.locationCurrentOsIdStyles}
>
{historicalOsIdsNotEmpty ? 'Current OS ID:' : 'OS ID:'}{' '}
{osId}
</Typography>
{historicalOsIdsNotEmpty &&
historicalOsIds.map(historicalOsId => (
<Typography
key={historicalOsId}
className={classes.locationHistoricalOsIdStyles}
>
Previous OS ID: {historicalOsId}{' '}
<PreviousOsIdTooltip />
</Typography>
))}
<div className={classes.locationAddressContainerStyles}>
<Typography className={classes.locationAddressStyles}>
{address}
</Typography>
<Typography className={classes.locationAddressStyles}>
{countryName}
</Typography>
</div>
</div> */}
<SearchByOsIdResultActions
defaultButtonLabel="No, search by name and address"
defaultButtonAction={handleBackToSearchByNameAddress}
Expand Down

0 comments on commit ddbd6d6

Please sign in to comment.