mirror of
https://github.com/neynarxyz/create-farcaster-mini-app.git
synced 2025-11-16 16:18:55 -05:00
fix mobile redirect
This commit is contained in:
parent
1d736d823e
commit
485c190695
@ -193,24 +193,17 @@ export function AuthDialog({
|
|||||||
|
|
||||||
{content.showOpenButton && content.qrUrl && (
|
{content.showOpenButton && content.qrUrl && (
|
||||||
<button
|
<button
|
||||||
onClick={() => window.open(content.qrUrl, '_blank')}
|
onClick={() =>
|
||||||
|
window.open(
|
||||||
|
content.qrUrl.replace(
|
||||||
|
'https://farcaster.xyz/',
|
||||||
|
'farcaster://'
|
||||||
|
),
|
||||||
|
'_blank'
|
||||||
|
)
|
||||||
|
}
|
||||||
className='btn btn-outline flex items-center justify-center gap-2 w-full'
|
className='btn btn-outline flex items-center justify-center gap-2 w-full'
|
||||||
>
|
>
|
||||||
<svg
|
|
||||||
xmlns='http://www.w3.org/2000/svg'
|
|
||||||
width={12}
|
|
||||||
height={18}
|
|
||||||
fill='none'
|
|
||||||
>
|
|
||||||
<path
|
|
||||||
fill='currentColor'
|
|
||||||
d='M11.25 8.25H.75a.75.75 0 0 0 0 1.5h10.5a.75.75 0 0 0 0-1.5Z'
|
|
||||||
/>
|
|
||||||
<path
|
|
||||||
fill='currentColor'
|
|
||||||
d='M9.75 6.75a.75.75 0 0 0-1.5 0v3a.75.75 0 0 0 1.5 0v-3Z'
|
|
||||||
/>
|
|
||||||
</svg>
|
|
||||||
I'm using my phone →
|
I'm using my phone →
|
||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user