refactor: Remove unnecessary setIsPlaying calls and clean up event handling in simulation components
This commit is contained in:
@@ -22,7 +22,6 @@ function ComparisonScene() {
|
||||
const product = products.find((product) => product.productName === option);
|
||||
if (product) {
|
||||
setComparisonProduct(product.productUuid, product.productName);
|
||||
setIsPlaying(true);
|
||||
setIsPaused(true);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user