fix: handler error buy producy
This commit is contained in:
		@@ -61,7 +61,7 @@ export const Product = observer(() => {
 | 
			
		||||
    modalLoader.setLoading(true);
 | 
			
		||||
    try {
 | 
			
		||||
      const response = await store.transaction.buyProduct({productCode: data});
 | 
			
		||||
      if (response.status === 200) {
 | 
			
		||||
      if (response.status === 201) {
 | 
			
		||||
        message.success("Success Buy Product");
 | 
			
		||||
      } else {
 | 
			
		||||
        message.error("Failed Buy Product", 3);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user