Fix ESLint warnings and errors
All checks were successful
Lint and Build / build (pull_request) Successful in 2m48s
All checks were successful
Lint and Build / build (pull_request) Successful in 2m48s
- Remove unused imports in test files - Fix unused variable warnings - Fix React unescaped entity warning in settings page - Remove unused error parameters in catch blocks 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
0edead505f
commit
b974de37e8
4 changed files with 8 additions and 8 deletions
|
@ -4,7 +4,7 @@ import { useState } from 'react';
|
|||
import { useApiKey } from '@/contexts/ApiKeyContext';
|
||||
|
||||
export default function SettingsPage() {
|
||||
const { apiKey, setApiKey, clearApiKey, isAuthenticated } = useApiKey();
|
||||
const { setApiKey, clearApiKey, isAuthenticated } = useApiKey();
|
||||
const [inputValue, setInputValue] = useState('');
|
||||
const [error, setError] = useState('');
|
||||
const [success, setSuccess] = useState('');
|
||||
|
@ -62,7 +62,7 @@ export default function SettingsPage() {
|
|||
<h2 className="text-xl font-semibold text-white mb-4">API Key Authentication</h2>
|
||||
<p className="text-base1 mb-6">
|
||||
API keys are required when accessing this application from external networks.
|
||||
The key is stored securely in your browser's local storage.
|
||||
The key is stored securely in your browser's local storage.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue