jnfrati 4 лет назад
Родитель
Сommit
badde84ed0

+ 3 - 4
dashboard/src/main/home/onboarding/steps/ProvisionResources/forms/_AWSProvsionerForm.tsx

@@ -8,7 +8,6 @@ import {
 } from "main/home/onboarding/types";
 } from "main/home/onboarding/types";
 import React, { useState } from "react";
 import React, { useState } from "react";
 import api from "shared/api";
 import api from "shared/api";
-import { Context } from "shared/Context";
 import { useSnapshot } from "valtio";
 import { useSnapshot } from "valtio";
 
 
 const regionOptions = [
 const regionOptions = [
@@ -81,15 +80,15 @@ export const CredentialsForm: React.FC<{
           id: project.id,
           id: project.id,
         }
         }
       );
       );
-      
+
       nextFormStep({
       nextFormStep({
         credentials: {
         credentials: {
           id: res.data?.id,
           id: res.data?.id,
         },
         },
       });
       });
     } catch (error) {
     } catch (error) {
-      setButtonStatus("Something went wrong, please try again")
-    }    
+      setButtonStatus("Something went wrong, please try again");
+    }
   };
   };
 
 
   return (
   return (