Skip to content

Commit

Permalink
🎨 Fix ui
Browse files Browse the repository at this point in the history
  • Loading branch information
mit-27 committed Jun 13, 2024
1 parent a63d08d commit 34531fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/magic-link/src/lib/ProviderModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,12 @@ const ProviderModal = () => {
</RadioGroup>
</div>
</CardContent>
<CardFooter>
<div className='flex flex-col'>
{loading.status ? <Button className='w-full flex flex-row items-center' disabled><LoadingSpinner className="w-4 mr-2"/>Loading</Button> : <Button className="w-full" onClick={handleStartFlow} disabled={!preStartFlow}>Continue</Button>}
<CardFooter className='flex flex-col items-start'>

{loading.status ? <Button className='w-full' disabled><LoadingSpinner className="w-4 mr-2"/>Loading</Button> : <Button className="w-full" onClick={handleStartFlow} disabled={!preStartFlow}>Continue</Button>}
{errorResponse.errorPresent ? <p className='mt-2 text-red-700'>{errorResponse.errorMessage}</p> : (<></>)}

</div>
{/* </div> */}
</CardFooter>
</Card>

Expand Down

0 comments on commit 34531fc

Please sign in to comment.