Skip to content

Commit 113e2ca

Browse files
committed
clean
1 parent 93cc3e2 commit 113e2ca

File tree

4 files changed

+28
-136
lines changed

4 files changed

+28
-136
lines changed

front/src/components/auth/AuthMethod.css

Lines changed: 0 additions & 87 deletions
This file was deleted.

front/src/components/auth/AuthMethodSelector.tsx

Lines changed: 0 additions & 33 deletions
This file was deleted.

front/src/components/auth/CreateWallet.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { build_proof_transaction, build_blob as check_secret_blob, register_cont
55
import { BlobTransaction } from 'hyle';
66
import { nodeService } from '../../services/NodeService';
77
import { webSocketService } from '../../services/WebSocketService';
8-
import { AuthMethodType } from './AuthMethodSelector';
98

109
interface CreateWalletProps {
1110
onWalletCreated: (wallet: Wallet) => void;

front/src/components/wallet/SessionKeys.tsx

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -176,21 +176,34 @@ export const SessionKeys = ({ wallet }: SessionKeysProps) => {
176176
<div className="add-key-section">
177177
<h3>Add New Session Key</h3>
178178
<div className="form-group">
179-
<input
180-
type="password"
181-
value={password}
182-
onChange={(e) => setPassword(e.target.value)}
183-
placeholder="Enter your password"
184-
disabled={isLoading}
185-
/>
186-
<input
187-
type="number"
188-
value={expirationDays}
189-
onChange={(e) => setExpirationDays(e.target.value)}
190-
placeholder="Expiration (days)"
191-
min="1"
192-
disabled={isLoading}
193-
/>
179+
<div className="input-group">
180+
<label htmlFor="password">Wallet Password</label>
181+
<div className="input-with-description">
182+
<input
183+
id="password"
184+
type="password"
185+
value={password}
186+
onChange={(e) => setPassword(e.target.value)}
187+
placeholder="Enter your wallet password"
188+
disabled={isLoading}
189+
/>
190+
</div>
191+
</div>
192+
<div className="input-group">
193+
<label htmlFor="expiration">Key Validity Period</label>
194+
<div className="input-with-description">
195+
<input
196+
id="expiration"
197+
type="number"
198+
value={expirationDays}
199+
onChange={(e) => setExpirationDays(e.target.value)}
200+
placeholder="Number of days"
201+
min="1"
202+
disabled={isLoading}
203+
/>
204+
<span className="input-hint">days</span>
205+
</div>
206+
</div>
194207
<button
195208
onClick={handleAddKey}
196209
disabled={isLoading}

0 commit comments

Comments
 (0)