Skip to content

Commit

Permalink
revert normal form
Browse files Browse the repository at this point in the history
  • Loading branch information
Feroze Mohideen committed May 8, 2024
1 parent 39b535a commit 9ad4166
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import {
} from "lib/databases/types";
import { useClusterList } from "lib/hooks/useCluster";

import { valueExists } from "shared/util";
import database from "assets/database.svg";

import {
Expand Down Expand Up @@ -73,8 +72,7 @@ const DatastoreForm: React.FC = () => {

const availableEngines: BlockSelectOption[] = useMemo(() => {
return [DATASTORE_ENGINE_POSTGRES, DATASTORE_ENGINE_REDIS];
}, [watchClusterId]);

}, [awsClusters, watchClusterId]);
const availableWorkloadTypes: BlockSelectOption[] = useMemo(() => {
return [
{
Expand Down Expand Up @@ -317,7 +315,6 @@ const DatastoreForm: React.FC = () => {
</>
)}
</>,

<>
<Text size={16}>Specify resources</Text>
{template && (
Expand Down Expand Up @@ -398,7 +395,7 @@ const DatastoreForm: React.FC = () => {
Create
</Button>
</>,
].filter(valueExists)}
]}
currentStep={currentStep}
/>
</StyledConfigureTemplate>
Expand Down

0 comments on commit 9ad4166

Please sign in to comment.