mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 13:31:14 -05:00
Refactor: Add button feedback
This commit is contained in:
@@ -275,15 +275,14 @@ export default function AuthCallback() {
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
<Button type="submit" className="w-full" disabled={settingPassword}>
|
||||
{settingPassword ? (
|
||||
<>
|
||||
<Loader2 className="w-4 h-4 mr-2 animate-spin" />
|
||||
Setting Password...
|
||||
</>
|
||||
) : (
|
||||
'Set Password'
|
||||
)}
|
||||
<Button
|
||||
type="submit"
|
||||
className="w-full"
|
||||
loading={settingPassword}
|
||||
loadingText="Setting Password..."
|
||||
trackingLabel="set-password-recovery"
|
||||
>
|
||||
Set Password
|
||||
</Button>
|
||||
</form>
|
||||
</CardContent>
|
||||
|
||||
Reference in New Issue
Block a user