bugs fixes due to reges curruption
This commit is contained in:
@@ -92,7 +92,7 @@ function Input({ label, value, onChange, placeholder, type = 'text', required, h
|
||||
</label>
|
||||
)}
|
||||
<input
|
||||
type={type} value={value} onChange={e = /> onChange(e.target.value)}
|
||||
type={type} value={value} onChange={e => onChange(e.target.value)}
|
||||
placeholder={placeholder} required={required}
|
||||
autoComplete={autoComplete || 'new-password'} autoCorrect="off" spellCheck={false}
|
||||
style={{ padding: '8px 10px', border: '1px solid #e0e0e0', borderRadius: 6,
|
||||
@@ -411,7 +411,7 @@ function KeyEntry({ onSubmit }) {
|
||||
{error && <div style={{ padding: '8px 12px', background: '#fce8e6', color: '#d93025',
|
||||
borderRadius: 6, fontSize: 13, marginBottom: 16 }}>{error}</div>}
|
||||
<input
|
||||
type="password" value={key} onChange={e = /> setKey(e.target.value)}
|
||||
type="password" value={key} onChange={e => setKey(e.target.value)}
|
||||
onKeyDown={e => e.key === 'Enter' && handle()}
|
||||
placeholder="Host admin key" autoFocus
|
||||
style={{ width: '100%', padding: '10px 12px', border: '1px solid #e0e0e0', borderRadius: 6,
|
||||
@@ -533,7 +533,7 @@ export default function HostAdmin() {
|
||||
padding: '16px 20px', borderBottom: '1px solid #e0e0e0', gap: 12, flexWrap: 'wrap' }}>
|
||||
<div style={{ fontWeight: 700, fontSize: 15 }}>Tenants</div>
|
||||
<div style={{ display: 'flex', gap: 8, alignItems: 'center', flex: 1, justifyContent: 'flex-end', flexWrap: 'wrap' }}>
|
||||
<input value={search} onChange={e = /> setSearch(e.target.value)}
|
||||
<input value={search} onChange={e => setSearch(e.target.value)}
|
||||
placeholder="Search tenants…" autoComplete="off"
|
||||
style={{ padding: '7px 10px', border: '1px solid #e0e0e0', borderRadius: 6,
|
||||
fontSize: 13, outline: 'none', width: 200 }} />
|
||||
|
||||
Reference in New Issue
Block a user