Skip to content

Commit f071912

Browse files
committed
access keys type changed to password
1 parent c4b5b72 commit f071912

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

app/App.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ const App: React.FC = React.memo(() => {
99
<Splash />
1010
<DashboardContainer />
1111
</div>
12-
13-
)
12+
);
1413
});
1514

1615
export default App;

app/modals/AwsModal.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ const AwsModal: React.FC<AddModalProps> = React.memo(({ setOpen }) => {
7676
<option value="AWS/ECS">Elastic Container Service (ECS)</option>
7777
</select>
7878
</div>
79-
{typeOfService === 'AWS/EC2' &&
79+
{typeOfService === 'AWS/EC2' && (
8080
<div>
8181
<label htmlFor="instance">
82-
Instance/Cluster Name<span>*</span>
82+
AWS Instance ID<span>*</span>
8383
</label>
8484
<input
8585
id="aws-instance"
@@ -90,7 +90,7 @@ const AwsModal: React.FC<AddModalProps> = React.memo(({ setOpen }) => {
9090
required
9191
/>
9292
</div>
93-
}
93+
)}
9494
<div>
9595
<label htmlFor="region">
9696
Region<span>*</span>
@@ -128,7 +128,7 @@ const AwsModal: React.FC<AddModalProps> = React.memo(({ setOpen }) => {
128128
</label>
129129
<input
130130
id="aws-access-key"
131-
type="text"
131+
type="password"
132132
name="accessKey"
133133
value={accessKey}
134134
onChange={e => handleChange(e)}
@@ -142,7 +142,7 @@ const AwsModal: React.FC<AddModalProps> = React.memo(({ setOpen }) => {
142142
</label>
143143
<input
144144
id="aws-secret-access-key"
145-
type="text"
145+
type="password"
146146
name="secretAccessKey"
147147
value={secretAccessKey}
148148
onChange={e => handleChange(e)}

0 commit comments

Comments
 (0)