Skip to content

Commit 7f2cb38

Browse files
committed
main 🧊 return async demo
1 parent 414bd81 commit 7f2cb38

3 files changed

Lines changed: 75 additions & 77 deletions

File tree

‎packages/newdocs/app/(docs)/functions/_components/function-banner.tsx‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,16 @@ export const FunctionBanner = async ({
4242
<>
4343
<Separator />
4444

45-
<p className='text-muted-foreground p-4 text-sm'>
46-
This hook uses <span className='text-[var(--brand-hex)]'>{browserapi.name}</span>{' '}
47-
browser api to provide enhanced functionality. Make sure to check for compatibility with
48-
different browsers when using this{' '}
45+
<div className='text-muted-foreground p-4 text-sm'>
46+
This hook uses{' '}
4947
<Button asChild className='p-0' variant='link'>
5048
<a href={browserapi.description} rel='noopener noreferrer' target='_blank'>
51-
api
49+
{browserapi.name}
5250
</a>
53-
</Button>
54-
</p>
51+
</Button>{' '}
52+
browser api to provide enhanced functionality. Make sure to check for compatibility with
53+
different browsers when using this api
54+
</div>
5555
</>
5656
)}
5757
</div>

0 commit comments

Comments
 (0)