Fix API key placeholder to remove sk- prefix
This commit is contained in:
parent
d05c8448e8
commit
89cb0e2321
2 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ export function AuthModal(onSuccess) {
|
||||||
<input
|
<input
|
||||||
type="password"
|
type="password"
|
||||||
id="muapi-key-input"
|
id="muapi-key-input"
|
||||||
placeholder="sk-..."
|
placeholder="Enter your Muapi API key..."
|
||||||
class="w-full bg-black/40 border border-white/5 rounded-2xl px-5 py-4 text-white placeholder:text-muted focus:outline-none focus:border-primary/50 transition-colors shadow-inner"
|
class="w-full bg-black/40 border border-white/5 rounded-2xl px-5 py-4 text-white placeholder:text-muted focus:outline-none focus:border-primary/50 transition-colors shadow-inner"
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ export function SettingsModal(onClose) {
|
||||||
input.type = 'password';
|
input.type = 'password';
|
||||||
input.className = 'w-full mb-4 p-2 rounded bg-input border border-border-color';
|
input.className = 'w-full mb-4 p-2 rounded bg-input border border-border-color';
|
||||||
input.value = localStorage.getItem('muapi_key') || '';
|
input.value = localStorage.getItem('muapi_key') || '';
|
||||||
input.placeholder = 'sk-...';
|
input.placeholder = 'Enter your Muapi API key...';
|
||||||
input.style.width = '100%';
|
input.style.width = '100%';
|
||||||
input.style.marginBottom = '1rem';
|
input.style.marginBottom = '1rem';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue