mirror of
https://github.com/lordmathis/llamactl.git
synced 2025-11-06 17:14:28 +00:00
Add AuthProvider to test components
This commit is contained in:
@@ -62,12 +62,6 @@ const LoginDialog: React.FC<LoginDialogProps> = ({
|
||||
}
|
||||
}
|
||||
|
||||
const handleCancel = () => {
|
||||
setApiKey('')
|
||||
clearError()
|
||||
onOpenChange?.(false)
|
||||
}
|
||||
|
||||
const handleKeyDown = (e: React.KeyboardEvent<HTMLInputElement>) => {
|
||||
if (e.key === 'Enter' && !isSubmitDisabled) {
|
||||
// Create a synthetic FormEvent to satisfy handleSubmit's type
|
||||
|
||||
Reference in New Issue
Block a user