mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 03:16:51 +08:00
refactor: refactor the button component using forwardRef (#4379)
Co-authored-by: KVOJJJin <jzongcode@gmail.com>
This commit is contained in:
@@ -156,7 +156,7 @@ const NormalForm = () => {
|
||||
<div className='w-full'>
|
||||
<a href={getPurifyHref(`${apiPrefix}/oauth/login/github`)}>
|
||||
<Button
|
||||
type='default'
|
||||
variant='default'
|
||||
disabled={isLoading}
|
||||
className='w-full hover:!bg-gray-50 !text-sm !font-medium'
|
||||
>
|
||||
@@ -175,7 +175,7 @@ const NormalForm = () => {
|
||||
<div className='w-full'>
|
||||
<a href={getPurifyHref(`${apiPrefix}/oauth/login/google`)}>
|
||||
<Button
|
||||
type='default'
|
||||
variant='default'
|
||||
disabled={isLoading}
|
||||
className='w-full hover:!bg-gray-50 !text-sm !font-medium'
|
||||
>
|
||||
@@ -271,7 +271,7 @@ const NormalForm = () => {
|
||||
<div className='mb-2'>
|
||||
<Button
|
||||
tabIndex={0}
|
||||
type='primary'
|
||||
variant='primary'
|
||||
onClick={handleEmailPasswordLogin}
|
||||
disabled={isLoading}
|
||||
className="w-full !fone-medium !text-sm"
|
||||
|
||||
Reference in New Issue
Block a user