Skip to content

Commit 450fa19

Browse files
author
Devansh K Shukla
committed
add some fix up to the code
1 parent 3f7efcd commit 450fa19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ class App extends Component {
2525

2626
<div className={style.MainContainer}>
2727
<div className={style.ProductPreview}>
28-
<ProductPreview currentPreviewImage = {this.state.productData.colorOptions[this.state.currentPreviewImagePos].imageUrl} showHeartBeatSection = {this.state.showHeartBeatSection} currentPreviewImagePos = {this.state.currentPreviewImagePos}/>
28+
<ProductPreview currentPreviewImage = {this.state.productData.colorOptions[this.state.currentPreviewImagePos].imageUrl} showHeartBeatSection = {this.state.showHeartBeatSection} />
2929
</div>
3030

3131
<div className={style.ProductData}>
32-
<ProductDetails data = {this.state.productData} onColorOptionClick = {this.onColorOptionClick}/>
32+
<ProductDetails data = {this.state.productData} onColorOptionClick = {this.onColorOptionClick} currentPreviewImagePos = {this.state.currentPreviewImagePos}/>
3333
</div>
3434
</div>
3535
</div>

0 commit comments

Comments
 (0)